Partilhar via


Método IVsToolbox3.GetItemDisplayName (IDataObject, String)

 

Obtém o nome de exibição de um item.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (em Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Sintaxe

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

Parâmetros

  • pbstrName
    O nome do item.

Valor de retorno

Type: System.Int32

Se o método for bem-sucedido, ele retorna S_OK.Se ele falhar, ele retorna um código de erro.

Comentários

COM assinatura

De vsshell80.idl:

HRESULT GetItemDisplayName(
   [in] IDataObject* pDO,
   [out] BSTR* pbstrName
);

Consulte também

Interface IVsToolbox3
Namespace Microsoft.VisualStudio.Shell.Interop

Retornar ao topo