Proprietà IFuncInfo.BodyText

Ottiene o imposta testo del corpo della funzione.

Spazio dei nomi:  Microsoft.VisualStudio.VsWizard
Assembly:  Microsoft.VisualStudio.VsWizard (in Microsoft.VisualStudio.VsWizard.dll)

Sintassi

'Dichiarazione
Property BodyText As String
string BodyText { get; set; }
property String^ BodyText {
    String^ get ();
    void set (String^ value);
}
abstract BodyText : string with get, set
function get BodyText () : String
function set BodyText (value : String)

Valore proprietà

Tipo: System.String
Testo del corpo della funzione.

Note

Il corpo del testo viene definito come testo tra le parentesi di dichiarazione (" {„ e “} ") della funzione.

Esempi

var oInterface = window.external.ParentObject;
var oFunction = oInterface.Functions(PROPERTY_NAME.value);
var strBodyText = oFunction.BodyText;

Sicurezza di .NET Framework

Vedere anche

Riferimenti

IFuncInfo Interfaccia

Spazio dei nomi Microsoft.VisualStudio.VsWizard