Share via


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 _
)
void SetMoniker(
    IntPtr drnidCurr,
    IMoniker pIMoniker
)
void SetMoniker(
    [InAttribute] IntPtr drnidCurr, 
    [InAttribute] IMoniker^ pIMoniker
)
abstract SetMoniker : 
        drnidCurr:IntPtr * 
        pIMoniker:IMoniker -> unit
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

Microsoft.VisualStudio.Data.Interop Namespace

Other Resources

Data Designer Extensibility (DDEX) SDK