|
CommonGetFormattedProtocolName Method
|
Returns display friendly protocol name.
Namespace: GSF.PhasorProtocolsAssembly: GSF.PhasorProtocols (in GSF.PhasorProtocols.dll) Version: 2.4.248-beta
Syntaxpublic static string GetFormattedProtocolName(
this PhasorProtocol protocol
)
<ExtensionAttribute>
Public Shared Function GetFormattedProtocolName (
protocol As PhasorProtocol
) As String
public:
[ExtensionAttribute]
static String^ GetFormattedProtocolName(
PhasorProtocol protocol
)
[<ExtensionAttribute>]
static member GetFormattedProtocolName :
protocol : PhasorProtocol -> string
GSF.PhasorProtocols.Common.GetFormattedProtocolName = function(protocol);
View SourceParameters
- protocol PhasorProtocol
- PhasorProtocol to return display name for.
Return Value
StringFriendly protocol display name for specified phasor
protocol.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
PhasorProtocol. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also