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.Int32A numerical identifier for the item to get the caption for.
Return Value
Type: System.String
The caption of the specified item.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsDataViewCaptionProvider Interface
IVsDataViewCaptionProvider Members
Microsoft.VisualStudio.Data.Services.SupportEntities Namespace