IDSRefConsumer.GetMoniker Method
Retrieves the moniker of the specified node.
Namespace: Microsoft.VisualStudio.Data.Services.SupportEntities.Interop
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'Declaration
Function GetMoniker ( _
drnidCurr As IntPtr _
) As IMoniker
IMoniker GetMoniker(
IntPtr drnidCurr
)
IMoniker^ GetMoniker(
IntPtr drnidCurr
)
abstract GetMoniker :
drnidCurr:IntPtr -> IMoniker
function GetMoniker(
drnidCurr : IntPtr
) : IMoniker
Parameters
drnidCurr
Type: System.IntPtrThe DSREFNODEID of the node whose moniker is to be retrieved.
Return Value
Type: Microsoft.VisualStudio.OLE.Interop.IMoniker
NOERROR if successful; otherwise, 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.
.NET Framework Security
- 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
Microsoft.VisualStudio.Data.Services.SupportEntities.Interop Namespace