共用方式為


IVsTaskProvider3.GetProviderFlags Method

Returns the behavior flags for this provider.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'宣告
Function GetProviderFlags ( _
    <OutAttribute> ByRef tpfFlags As UInteger _
) As Integer
'用途
Dim instance As IVsTaskProvider3
Dim tpfFlags As UInteger
Dim returnValue As Integer

returnValue = instance.GetProviderFlags(tpfFlags)
int GetProviderFlags(
    out uint tpfFlags
)
int GetProviderFlags(
    [OutAttribute] unsigned int% tpfFlags
)
abstract GetProviderFlags : 
        tpfFlags:uint32 byref -> int 
function GetProviderFlags(
    tpfFlags : uint
) : int

Parameters

  • tpfFlags
    Type: System.UInt32%
    [out] A pointer to an object of type VSTASKPROVIDERFLAGS.

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 IVsTaskProvider3::GetProviderFlags(
   [out] VSTASKPROVIDERFLAGS* tpfFlags
);

.NET Framework Security

See Also

Reference

IVsTaskProvider3 Interface

IVsTaskProvider3 Members

Microsoft.VisualStudio.Shell.Interop Namespace