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
)
function SetMoniker(
dwWhichMoniker : uint,
pmk : IMoniker
)
Parameters
- dwWhichMoniker
Type: System.UInt32
Remarks
For information on the COM interface, see IOleObject::SetMoniker
Permissions
- 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.