IFuncInfo.BodyText Свойство
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Получает или задает текст тела функции.
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
Значение свойства
Текст тела функции.
- Атрибуты
Примеры
var oInterface = window.external.ParentObject;
var oFunction = oInterface.Functions(PROPERTY_NAME.value);
var strBodyText = oFunction.BodyText;
Комментарии
Основной текст определяется как текст между фигурными скобками объявления ("{" и "}") функции.