Partilhar via


Método VsCodeWindowClass.GetEditorCaption

Retorna a legenda do editor ao qual editores podem acrescentar texto personalizado.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (em Microsoft.VisualStudio.TextManager.Interop.dll)

Sintaxe

'Declaração
Public Overridable Function GetEditorCaption ( _
    dwReadOnly As READONLYSTATUS, _
    <OutAttribute> ByRef pbstrEditorCaption As String _
) As Integer
public virtual int GetEditorCaption(
    READONLYSTATUS dwReadOnly,
    out string pbstrEditorCaption
)
public:
virtual int GetEditorCaption(
    [InAttribute] READONLYSTATUS dwReadOnly, 
    [OutAttribute] String^% pbstrEditorCaption
)
abstract GetEditorCaption : 
        dwReadOnly:READONLYSTATUS * 
        pbstrEditorCaption:string byref -> int  
override GetEditorCaption : 
        dwReadOnly:READONLYSTATUS * 
        pbstrEditorCaption:string byref -> int
public function GetEditorCaption(
    dwReadOnly : READONLYSTATUS, 
    pbstrEditorCaption : String
) : int

Parâmetros

  • pbstrEditorCaption
    Tipo: String%

    [out] Ponteiro para um BSTR que contém o texto da legenda.

Valor de retorno

Tipo: Int32

Implementações

IVsCodeWindow.GetEditorCaption(READONLYSTATUS, String%)

Segurança do .NET Framework

Consulte também

Referência

VsCodeWindowClass Classe

Namespace Microsoft.VisualStudio.TextManager.Interop