VCConfiguration.Rules 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取 IVCRulePropertyStorage 对象的集合,这些对象可以修改为在此属性表中定义的项目级属性和默认项元数据。
public:
property Microsoft::VisualStudio::VCProjectEngine::IVCCollection ^ Rules { Microsoft::VisualStudio::VCProjectEngine::IVCCollection ^ get(); };
[System.Runtime.InteropServices.DispId(781)]
public Microsoft.VisualStudio.VCProjectEngine.IVCCollection Rules { [System.Runtime.InteropServices.DispId(781)] [System.Runtime.InteropServices.TypeLibFunc(System.Runtime.InteropServices.TypeLibFuncFlags.FNonBrowsable)] get; }
[<System.Runtime.InteropServices.DispId(781)>]
[<get: System.Runtime.InteropServices.DispId(781)>]
[<get: System.Runtime.InteropServices.TypeLibFunc(System.Runtime.InteropServices.TypeLibFuncFlags.FNonBrowsable)>]
member this.Rules : Microsoft.VisualStudio.VCProjectEngine.IVCCollection
Public ReadOnly Property Rules As IVCCollection
属性值
键控集合,其中的键是在规则文件的开始标记中找到的规则的名称。
- 属性
注解
IVCRulePropertyStorage此属性获取的对象是从其获得对象的属性表中的项目级属性和默认项元数据。 若要修改项目文件中的这些数据,请参阅 <xref:Microsoft.VisualStudio.VCProjectEngine.VCConfiguration.Rules.%2A> 以修改特定项的元数据,请参阅 <xref:Microsoft.VisualStudio.VCProjectEngine.VCFileConfiguration.Tool.%2A>