VCConfiguration.Rules 屬性

取得 IVCRulePropertyStorage 物件的集合,這些物件可以修改此屬性工作表中定義的專案層級屬性和預設項目中繼資料。

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

語法

'宣告
ReadOnly Property Rules As IVCCollection
IVCCollection Rules { get; }
property IVCCollection^ Rules {
    IVCCollection^ get ();
}
abstract Rules : IVCCollection with get
function get Rules () : IVCCollection

屬性值

型別:Microsoft.VisualStudio.VCProjectEngine.IVCCollection
有索引鍵的集合,其中的索引鍵是在規則檔的開頭標記內找到的規則名稱。

備註

IVCRulePropertyStorage可以藉由這個屬性的物件是專案層級屬性和預設從中取得物件的屬性表中的項目中繼資料。若要修改這些專案檔中的資料,請參閱[P:Microsoft.VisualStudio.VCProjectEngine.VCConfiguration.Rules.]若要修改的特定項目中繼資料,請參閱[P:Microsoft.VisualStudio.VCProjectEngine.VCFileConfiguration.Tool.]

.NET Framework 安全性

請參閱

參考

VCConfiguration 介面

Microsoft.VisualStudio.VCProjectEngine 命名空間