IOleObject.SetMoniker Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'宣言
Sub SetMoniker ( _
dwWhichMoniker As UInteger, _
pmk As IMoniker _
)
'使用
Dim instance As IOleObject
Dim dwWhichMoniker As UInteger
Dim pmk As IMoniker
instance.SetMoniker(dwWhichMoniker, pmk)
void SetMoniker(
uint dwWhichMoniker,
IMoniker pmk
)
void SetMoniker(
[InAttribute] unsigned int dwWhichMoniker,
[InAttribute] IMoniker^ pmk
)
abstract SetMoniker :
dwWhichMoniker:uint32 *
pmk:IMoniker -> unit
function SetMoniker(
dwWhichMoniker : uint,
pmk : IMoniker
)
Parameters
- dwWhichMoniker
Type: System.UInt32
Remarks
For information on the COM interface, see IOleObject::SetMoniker
.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.