DataViewDocumentProvider.GetMoniker Method

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.Int32

    A numerical identifier for the node in the data view.

Return Value

Type: System.String

The document moniker.

Implements

IVsDataViewDocumentProvider.GetMoniker(Int32)

Permissions

See Also

Reference

DataViewDocumentProvider Class

DataViewDocumentProvider Members

Microsoft.VisualStudio.Data.Framework Namespace