IDSRefProvider.SetMoniker Method

Sets the moniker of a specified node.

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

Syntax

'Declaration
Sub SetMoniker ( _
    drnidCurr As IntPtr, _
    pIMoniker As IMoniker _
)
'Usage
Dim instance As IDSRefProvider 
Dim drnidCurr As IntPtr 
Dim pIMoniker As IMoniker

instance.SetMoniker(drnidCurr, pIMoniker)
void SetMoniker(
    IntPtr drnidCurr,
    IMoniker pIMoniker
)
void SetMoniker(
    [InAttribute] IntPtr drnidCurr, 
    [InAttribute] IMoniker^ pIMoniker
)
function SetMoniker(
    drnidCurr : IntPtr, 
    pIMoniker : IMoniker
)

Parameters

  • drnidCurr
    Type: System.IntPtr

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

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

See Also

Reference

IDSRefProvider Interface

IDSRefProvider Members

Microsoft.VisualStudio.Data.Interop Namespace

Other Resources

Data Designer Extensibility (DDEX) SDK