共用方式為


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

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

See Also

Reference

IVsWindowPaneCommitFilter Interface

IVsWindowPaneCommitFilter Members

Microsoft.VisualStudio.Shell.Interop Namespace