共用方式為


IVsToolboxDataProvider2.GetDisplayName(String) Method

Definition

Retrieves the localized name of the data provider.

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

Parameters

pbstrName
String

[out] The localized name of the data provider.

Returns

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsToolboxDataProvider2::GetDisplayName(  
   [out] BSTR* pbstrName  
);  

Applies to