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.
pIMoniker
Type: Microsoft.VisualStudio.OLE.Interop.IMoniker[in] Reference to the IMoniker interface that contains the moniker to be set for the specified node.
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.Interop Namespace