Partager via


IFuncInfo.BodyText Property

Gets or sets the body text of the function.

Namespace:  Microsoft.VisualStudio.VsWizard
Assembly:  Microsoft.VisualStudio.VsWizard (in Microsoft.VisualStudio.VsWizard.dll)

Syntax

'Declaration
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)

Property Value

Type: System.String
The body text of the function.

Remarks

Body text is defined as the text between the declaration braces ( '{' and '}' ) of the function.

Examples

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

.NET Framework Security

See Also

Reference

IFuncInfo Interface

Microsoft.VisualStudio.VsWizard Namespace