Udostępnij za pośrednictwem


Metoda IVsToolboxDataProvider2.GetDisplayName — (String)

 

Pobiera zlokalizowana nazwa dostawcy danych.

Przestrzeń nazw:   Microsoft.VisualStudio.Shell.Interop
Zestaw:  Microsoft.VisualStudio.Shell.Interop.8.0 (w Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Składnia

int GetDisplayName(
    out string pbstrName
)
int GetDisplayName(
    [OutAttribute] String^% pbstrName
)
abstract GetDisplayName : 
        pbstrName:string byref -> int
Function GetDisplayName (
    <OutAttribute> ByRef pbstrName As String
) As Integer

Parametry

  • pbstrName
    [out] Zlokalizowana nazwa dostawcy danych.

Wartość zwracana

Type: System.Int32

Jeśli metoda się powiedzie, zwraca S_OK.Jeśli nie powiedzie się, zwraca kod błędu.

Uwagi

Podpis COM

Z vsshell80.idl:

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

Zobacz też

Interfejs IVsToolboxDataProvider2
Przestrzeń nazw Microsoft.VisualStudio.Shell.Interop

Powrót do początku