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
)
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
);
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.