次の方法で共有


VCCodeUnion.BodyText プロパティ

オブジェクトの本体テキストを取得または設定します。

名前空間:  Microsoft.VisualStudio.VCCodeModel
アセンブリ:  Microsoft.VisualStudio.VCCodeModel (Microsoft.VisualStudio.VCCodeModel.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
オブジェクトの本体テキスト。

解説

本体テキストとは、親オブジェクトが表すコード要素のうち、宣言を示す中かっこ ({ }) で囲まれたテキストです。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

関連項目

VCCodeUnion インターフェイス

Microsoft.VisualStudio.VCCodeModel 名前空間