IVsDataViewCaptionProvider.GetCaption Method

Retrieves the caption of the specified node in Server Explorer.

Namespace:  Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

Function GetCaption ( _
    itemId As Integer _
) As String

Dim instance As IVsDataViewCaptionProvider
Dim itemId As Integer
Dim returnValue As String

returnValue = instance.GetCaption(itemId)
string GetCaption(
    int itemId
)
String^ GetCaption(
    int itemId
)
function GetCaption(
    itemId : int
) : String

Parameters

  • itemId
    Type: System.Int32

    A numerical identifier for the item to get the caption for.

Return Value

Type: System.String

The caption of the specified item.

Permissions

See Also

Reference

IVsDataViewCaptionProvider Interface

IVsDataViewCaptionProvider Members

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace