Método IVsCommentTaskToken.Text (String)

 

Publicado: abril de 2016

Retorna o texto de um token de tarefa de comentário.

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

Sintaxe

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

Parâmetros

  • pbstrText
    [out, retval] Ponteiro para um BSTR contendo o texto do token de tarefa de comentário.

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 vsshell.idl:

HRESULT IVsCommentTaskToken::Text(
   [out, retval] BSTR* pbstrText
);

O texto identifica o token de tarefa do comentário, como, por exemplo, "TODO", "HACK" ou "Desfazer".

Consulte também

Interface IVsCommentTaskToken
Namespace Microsoft.VisualStudio.Shell.Interop

Retornar ao topo