IDSRefConsumer.GetMoniker Method

Retrieves the moniker of the specified node.

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

Syntax

'宣言
Function GetMoniker ( _
    drnidCurr As IntPtr _
) As IMoniker
'使用
Dim instance As IDSRefConsumer
Dim drnidCurr As IntPtr
Dim returnValue As IMoniker

returnValue = instance.GetMoniker(drnidCurr)
IMoniker GetMoniker(
    IntPtr drnidCurr
)
IMoniker^ GetMoniker(
    [InAttribute] IntPtr drnidCurr
)
function GetMoniker(
    drnidCurr : IntPtr
) : IMoniker

Parameters

  • drnidCurr
    Type: System.IntPtr

    [in] DSREFNODEID of the node whose moniker is to be retrieved.

Return Value

Type: Microsoft.VisualStudio.OLE.Interop.IMoniker

Returns NOERROR if successful. Otherwise, it returns an unspecified failure code.

Remarks

Although the implementation for using monikers is provided, the database tools do not use monikers. Use of monikers with nodes is left to your discretion.

Permissions

See Also

Reference

IDSRefConsumer Interface

IDSRefConsumer Members

Microsoft.VisualStudio.Data.Interop Namespace