Retrieves the document moniker for the specified node in the data view.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'宣言
Public Overridable Function GetMoniker ( _
itemId As Integer _
) As String
'使用
Dim instance As DataViewDocumentProvider
Dim itemId As Integer
Dim returnValue As String
returnValue = instance.GetMoniker(itemId)
public virtual string GetMoniker(
int itemId
)
public:
virtual String^ GetMoniker(
int itemId
)
public 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.
Implements
IVsDataViewDocumentProvider.GetMoniker(Int32)
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
DataViewDocumentProvider Class