GetDisplayName Method

Gets the display name of the custom colorable item.

Namespace:  Microsoft.VisualStudio.Data.Tools.SqlLanguageServices
Assembly:  Microsoft.VisualStudio.Data.Tools.SqlLanguageServices (in Microsoft.VisualStudio.Data.Tools.SqlLanguageServices.dll)

Syntax

'Declaration
Public Function GetDisplayName ( _
    <OutAttribute> ByRef pbstrName As String _
) As Integer
'Usage
Dim instance As ColorableItem
Dim pbstrName As String
Dim returnValue As Integer

returnValue = instance.GetDisplayName(pbstrName)
public int GetDisplayName(
    out string pbstrName
)
public:
virtual int GetDisplayName(
    [OutAttribute] String^% pbstrName
) sealed
abstract GetDisplayName : 
        pbstrName:string byref -> int 
override GetDisplayName : 
        pbstrName:string byref -> int 
public final function GetDisplayName(
    pbstrName : String
) : int

Parameters

  • pbstrName
    Type: System..::..String%
    [out] Returns a localized string containing the display name for the custom colorable item.

Return Value

Type: System..::..Int32
Returns S_OK.

Implements

IVsColorableItemGetDisplayName(String%)

See Also

Reference

ColorableItem Class

Microsoft.VisualStudio.Data.Tools.SqlLanguageServices Namespace