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.155 -- Release Build+e0712c061c586a83529028b96d7dab34b7d8eae9
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