Compartir a través de


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

'Declaration
Public Overridable Function GetMoniker ( _
    itemId As Integer _
) As String
public virtual string GetMoniker(
    int itemId
)
public:
virtual String^ GetMoniker(
    int itemId
)
abstract GetMoniker : 
        itemId:int -> string  
override GetMoniker : 
        itemId:int -> string
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)

Remarks

Notes to Inheritors

The derived class should override this method.

.NET Framework Security

See Also

Reference

DataViewDocumentProvider Class

Microsoft.VisualStudio.Data.Framework Namespace