When implemented by a class, retrieves the document moniker for the specified node in the data view.
Namespace: Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'宣言
Function GetMoniker ( _
itemId As Integer _
) As String
'使用
Dim instance As IVsDataViewDocumentProvider
Dim itemId As Integer
Dim returnValue As String
returnValue = instance.GetMoniker(itemId)
string GetMoniker(
int itemId
)
String^ GetMoniker(
int itemId
)
function GetMoniker(
itemId : int
) : String
Parameters
itemId
Type: System.Int32A numerical identifier for the node in the data view.
Return Value
Type: System.String
The document moniker.
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
IVsDataViewDocumentProvider Interface
IVsDataViewDocumentProvider Members
Microsoft.VisualStudio.Data.Services.SupportEntities Namespace