Gemstone PhasorProtocols Library
Show/Hide TOC

# CommonGetFormattedProtocolName Method

Returns display friendly protocol name.

## Definition

Namespace: Gemstone.PhasorProtocols
Assembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.158 -- Release Build+4e142f43dbc4b789ed7256dff03daee71604570b
C#
View Source Request Example

    public static string GetFormattedProtocolName(
    	this PhasorProtocol protocol
    )

VB
View Source Request Example

    <ExtensionAttribute>
    Public Shared Function GetFormattedProtocolName (
    	protocol As PhasorProtocol
    ) As String

C++
View Source Request Example

    public:
    [ExtensionAttribute]
    static String^ GetFormattedProtocolName(
    	PhasorProtocol protocol
    )

JavaScript
View Source Request Example

    Gemstone.PhasorProtocols.Common.GetFormattedProtocolName = function(protocol);

#### Parameters

protocol PhasorProtocol
  PhasorProtocol to return display name for.

#### Return Value

String
Friendly 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

#### Reference

Common Class
Gemstone.PhasorProtocols Namespace