Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'宣言
Public Function Exec ( _
ByRef cmdGroup As Guid, _
cmdId As UInteger, _
cmdExecOptions As UInteger, _
inValue As IntPtr, _
outValue As IntPtr _
) As Integer
'使用
Dim instance As UndoManager
Dim cmdGroup As Guid
Dim cmdId As UInteger
Dim cmdExecOptions As UInteger
Dim inValue As IntPtr
Dim outValue As IntPtr
Dim returnValue As Integer
returnValue = instance.Exec(cmdGroup, _
cmdId, cmdExecOptions, inValue, outValue)
public int Exec(
ref Guid cmdGroup,
uint cmdId,
uint cmdExecOptions,
IntPtr inValue,
IntPtr outValue
)
public:
virtual int Exec(
Guid% cmdGroup,
unsigned int cmdId,
unsigned int cmdExecOptions,
IntPtr inValue,
IntPtr outValue
) sealed
public final function Exec(
cmdGroup : Guid,
cmdId : uint,
cmdExecOptions : uint,
inValue : IntPtr,
outValue : IntPtr
) : int
Parameters
- cmdGroup
Type: System.Guid%
- cmdId
Type: System.UInt32
- cmdExecOptions
Type: System.UInt32
- inValue
Type: System.IntPtr
- outValue
Type: System.IntPtr
Return Value
Type: System.Int32
Implements
IOleCommandTarget.Exec(Guid%, UInt32, UInt32, IntPtr, IntPtr)
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.