Partager via


DataViewDocumentProvider.ShowMoniker Method

Indicates whether the document moniker is to be displayed on the specified document.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Public Overridable Function ShowMoniker ( _
    itemId As Integer _
) As Boolean
public virtual bool ShowMoniker(
    int itemId
)
public:
virtual bool ShowMoniker(
    int itemId
)
abstract ShowMoniker : 
        itemId:int -> bool  
override ShowMoniker : 
        itemId:int -> bool
public function ShowMoniker(
    itemId : int
) : boolean

Parameters

  • itemId
    Type: System.Int32

    A numerical identifier for the node in the data view.

Return Value

Type: System.Boolean
true if the moniker is to be displayed; otherwise, false.

Implements

IVsDataViewDocumentProvider.ShowMoniker(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