次の方法で共有


IVsTaskItem3.GetTaskProvider Method

Gets the provider that owns this item.

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

Syntax

'宣言
Function GetTaskProvider ( _
    <OutAttribute> ByRef ppProvider As IVsTaskProvider3 _
) As Integer
'使用
Dim instance As IVsTaskItem3
Dim ppProvider As IVsTaskProvider3
Dim returnValue As Integer

returnValue = instance.GetTaskProvider(ppProvider)
int GetTaskProvider(
    out IVsTaskProvider3 ppProvider
)
int GetTaskProvider(
    [OutAttribute] IVsTaskProvider3^% ppProvider
)
function GetTaskProvider(
    ppProvider : IVsTaskProvider3
) : 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 IVsTaskItem3::GetTaskProvider(
   [out] IVsTaskProvider3** ppProvider
);

Permissions

See Also

Reference

IVsTaskItem3 Interface

IVsTaskItem3 Members

Microsoft.VisualStudio.Shell.Interop Namespace