Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Indicates whether a command can commit changes.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function IsCommitCommand ( _
ByRef pguidCmdGroup As Guid, _
dwCmdID As UInteger, _
<OutAttribute> ByRef pfCommitCommand As Integer _
) As Integer
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: Guid%[in] The command group that identifies the command.
dwCmdID
Type: UInt32[in] The command identifier.
pfCommitCommand
Type: Int32%[out] Indicates whether this is a commit command. If true, it is a commit command.
Return Value
Type: 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.