Compartilhar via


IFuncInfo.BodyText Property

Definition

Gets or sets the body text of the function.

public:
 property System::String ^ BodyText { System::String ^ get(); void set(System::String ^ value); };
public:
 property Platform::String ^ BodyText { Platform::String ^ get(); void set(Platform::String ^ value); };
[System.Runtime.InteropServices.DispId(1610743816)]
public string BodyText { [System.Runtime.InteropServices.DispId(1610743816)] get; [System.Runtime.InteropServices.DispId(1610743816)] [System.Runtime.InteropServices.TypeLibFunc(System.Runtime.InteropServices.TypeLibFuncFlags.FRestricted)] set; }
[<System.Runtime.InteropServices.DispId(1610743816)>]
[<get: System.Runtime.InteropServices.DispId(1610743816)>]
[<set: System.Runtime.InteropServices.DispId(1610743816)>]
[<set: System.Runtime.InteropServices.TypeLibFunc(System.Runtime.InteropServices.TypeLibFuncFlags.FRestricted)>]
member this.BodyText : string with get, set
Public Property BodyText As String

Property Value

The body text of the function.

Attributes

Examples

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

Remarks

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

Applies to