Método IDiscoveryClientResult.GetFileName (String)

 

Publicado: agosto de 2016

Retorna o nome do arquivo do documento de descoberta.

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

Sintaxe

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

Parâmetros

  • pbstrFilename
    Type: System.String

    [out] Ponteiro para uma cadeia de caracteres que contém o nome do arquivo do documento.

Valor de retorno

Type: System.Int32

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

Comentários

COM assinatura

De designer.idl:

HRESULT IDiscoveryClientResult::GetFileName(
   [out, retval] BSTR * pbstrFilename
);

Consulte também

Interface IDiscoveryClientResult
Namespace Microsoft.VisualStudio.Shell.Interop

Retornar ao topo