Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'宣言
Function IsCommitCommand ( _
ByRef pguidCmdGroup As Guid, _
dwCmdID As UInteger, _
<OutAttribute> ByRef pfCommitCommand As Integer _
) As Integer
'使用
Dim instance As IVsWindowPaneCommitFilter
Dim pguidCmdGroup As Guid
Dim dwCmdID As UInteger
Dim pfCommitCommand As Integer
Dim returnValue As Integer
returnValue = instance.IsCommitCommand(pguidCmdGroup, _
dwCmdID, pfCommitCommand)
int IsCommitCommand(
ref Guid pguidCmdGroup,
uint dwCmdID,
out int pfCommitCommand
)
int IsCommitCommand(
[InAttribute] Guid% pguidCmdGroup,
[InAttribute] unsigned int dwCmdID,
[OutAttribute] int% pfCommitCommand
)
function IsCommitCommand(
pguidCmdGroup : Guid,
dwCmdID : uint,
pfCommitCommand : int
) : int
Parameters
pguidCmdGroup
Type: System.Guid%[in]
dwCmdID
Type: System.UInt32[in]
pfCommitCommand
Type: System.Int32%[out]
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell80.idl:
HRESULT IVsWindowPaneCommitFilter::IsCommitCommand(
[in] REFGUID pguidCmdGroup,
[in] DWORD dwCmdID,
[out] BOOL *pfCommitCommand
);
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.
See Also
Reference
IVsWindowPaneCommitFilter Interface