다음을 통해 공유


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

'Declaration
Function GetTaskProvider ( _
    <OutAttribute> ByRef ppProvider As IVsTaskProvider3 _
) As Integer
int GetTaskProvider(
    out IVsTaskProvider3 ppProvider
)
int GetTaskProvider(
    [OutAttribute] IVsTaskProvider3^% ppProvider
)
abstract GetTaskProvider : 
        ppProvider:IVsTaskProvider3 byref -> int
function GetTaskProvider(
    ppProvider : IVsTaskProvider3
) : int

Parameters

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 IVsTaskItem3::GetTaskProvider(
   [out] IVsTaskProvider3** ppProvider
);

.NET Framework Security

See Also

Reference

IVsTaskItem3 Interface

Microsoft.VisualStudio.Shell.Interop Namespace