Udostępnij za pośrednictwem


Metoda IVsToolbox3.GetItemDisplayName — (IDataObject, String)

 

Pobiera nazwę wyświetlania elementu.

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

Składnia

int GetItemDisplayName(
    IDataObject pDO,
    out string pbstrName
)
int GetItemDisplayName(
    IDataObject^ pDO,
    [OutAttribute] String^% pbstrName
)
abstract GetItemDisplayName : 
        pDO:IDataObject *
        pbstrName:string byref -> int
Function GetItemDisplayName (
    pDO As IDataObject,
    <OutAttribute> ByRef pbstrName As String
) As Integer

Parametry

  • pbstrName
    Nazwa elementu.

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 GetItemDisplayName(
   [in] IDataObject* pDO,
   [out] BSTR* pbstrName
);

Zobacz też

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

Powrót do początku