RegistrySecurity.AccessRuleType RegistrySecurity.AccessRuleType RegistrySecurity.AccessRuleType Property


Gets the type that the RegistrySecurity class uses to represent access rules.

 virtual property Type ^ AccessRuleType { Type ^ get(); };
public override Type AccessRuleType { get; }
Public Overrides ReadOnly Property AccessRuleType As Type
Property Value

A Type object representing the RegistryAccessRule class.


Classes that derive from the ObjectSecurity class override the AccessRuleType property and return the type they use to represent access rules. When you work with arrays or collections that contain multiple types of security objects, use this property to determine the correct access rule type to use with each security object.

Applies to