IVsWindowPaneCommitFilter.IsCommitCommand Method
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
)
abstract IsCommitCommand :
pguidCmdGroup:Guid byref *
dwCmdID:uint32 *
pfCommitCommand:int byref -> int
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
);
.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
IVsWindowPaneCommitFilter Interface