ModelBusReferenceExtensionMethods.GetDisplayName Method

Extension method that returns the calculated display name

Namespace:  Microsoft.VisualStudio.Modeling.Integration.Picker
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Integration.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.11.0.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function GetDisplayName ( _
    reference As ModelBusReference _
) As String
public static string GetDisplayName(
    this ModelBusReference reference
)
[ExtensionAttribute]
public:
static String^ GetDisplayName(
    ModelBusReference^ reference
)
static member GetDisplayName : 
        reference:ModelBusReference -> string
public static function GetDisplayName(
    reference : ModelBusReference
) : String

Parameters

Return Value

Type: String
The calculated display name

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ModelBusReference. 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).

.NET Framework Security

See Also

Reference

ModelBusReferenceExtensionMethods Class

Microsoft.VisualStudio.Modeling.Integration.Picker Namespace