IFuncInfo.BodyText 属性

获取或设置函数的正文。

命名空间:  Microsoft.VisualStudio.VsWizard
程序集:  Microsoft.VisualStudio.VsWizard(在 Microsoft.VisualStudio.VsWizard.dll 中)

语法

声明
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)

属性值

类型:String
函数的正文。

备注

正文定义,而在辅助声明之间的文本 (“{”和“}”) 函数。

示例

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

.NET Framework 安全性

请参阅

参考

IFuncInfo 接口

Microsoft.VisualStudio.VsWizard 命名空间