Partager via


IVsTaskItem3.GetTaskProvider(IVsTaskProvider3) Method

Definition

Gets the provider that owns this item.

public:
 int GetTaskProvider([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsTaskProvider3 ^ % ppProvider);
public:
 int GetTaskProvider([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsTaskProvider3 ^ &  ppProvider);
int GetTaskProvider([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsTaskProvider3 const & & ppProvider);
public int GetTaskProvider (out Microsoft.VisualStudio.Shell.Interop.IVsTaskProvider3 ppProvider);
abstract member GetTaskProvider : IVsTaskProvider3 -> int
Public Function GetTaskProvider (ByRef ppProvider As IVsTaskProvider3) As Integer

Parameters

ppProvider
IVsTaskProvider3

[out] A pointer to a pointer to an object of type IVsTaskProvider3.

Returns

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

Applies to