Udostępnij za pośrednictwem


VCPropertySheet.Rules Property

Definition

Gets a collection of IVCRulePropertyStorage objects that can modify to project-level properties and default item metadata defined in this property sheet.

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

Property Value

A keyed collection, where the key is the name of the rule as found inside the rule file’s opening tag.

Attributes

Remarks

The IVCRulePropertyStorage objects obtained by this property are project-level properties and default item metadata in the property sheet from which the objects were obtained. To modify these data in the project file, see <xref:Microsoft.VisualStudio.VCProjectEngine.VCConfiguration.Rules.%2A> To modify the metadata of a particular item, see <xref:Microsoft.VisualStudio.VCProjectEngine.VCFileConfiguration.Tool.%2A>

Applies to