VCCodeMacro.Value 屬性

取得或設定物件的資料。

命名空間:  Microsoft.VisualStudio.VCCodeModel
組件:  Microsoft.VisualStudio.VCCodeModel (在 Microsoft.VisualStudio.VCCodeModel.dll 中)

語法

'宣告
Property Value As String
string Value { get; set; }
property String^ Value {
    String^ get ();
    void set (String^ value);
}
abstract Value : string with get, set
function get Value () : String
function set Value (value : String)

屬性值

型別:System.String
物件的資料。

備註

如果屬性的形式為 name(someval, 2),則該值為 someval, 2。

.NET Framework 安全性

請參閱

參考

VCCodeMacro 介面

Microsoft.VisualStudio.VCCodeModel 命名空間

其他資源

HOW TO:編譯和執行 Automation 物件模型程式碼範例