共用方式為


IVsTaskProvider3.GetProviderName(String) Method

Definition

Returns a localized human-readable name for this data provider.

public:
 int GetProviderName([Runtime::InteropServices::Out] System::String ^ % pbstrName);
int GetProviderName([Runtime::InteropServices::Out] std::wstring const & & pbstrName);
public int GetProviderName (out string pbstrName);
abstract member GetProviderName : string -> int
Public Function GetProviderName (ByRef pbstrName As String) As Integer

Parameters

pbstrName
String

[out] A pointer to a string containing the data provider human-readable name.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsTaskProvider3::GetProviderName(

[out] BSTR* pbstrName

);

Applies to