Sdílet prostřednictvím


IVsCommentTaskToken.Text – metoda (String)

 

Publikováno: srpen 2016

Vrátí text token úloh poznámky.

Obor názvů:   Microsoft.VisualStudio.Shell.Interop
Sestavení:  Microsoft.VisualStudio.Shell.Interop (v Microsoft.VisualStudio.Shell.Interop.dll)

Syntaxe

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

Parametry

  • pbstrText
    Type: System.String

    [out, retval] Ukazatel na BSTR obsahující text úkol token komentáře.

Vrácená hodnota

Type: System.Int32

Pokud je metoda úspěšná, vrátí S_OK. Pokud selže, vrátí kód chyby.

Poznámky

Podpis modelu COM

Z vsshell.idl:

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

Text identifikuje token komentáře úloh, například "TODO", "HACK" nebo "Vrátit zpět".

Viz také

IVsCommentTaskToken – rozhraní
Microsoft.VisualStudio.Shell.Interop – obor názvů

Zpátky na začátek