FileSystemSecurity.AccessRuleType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the enumeration that the FileSystemSecurity class uses to represent access rules.
public:
virtual property Type ^ AccessRuleType { Type ^ get(); };
public override Type AccessRuleType { get; }
member this.AccessRuleType : Type
Public Overrides ReadOnly Property AccessRuleType As Type
Property Value
A Type object representing the FileSystemAccessRule class.
Remarks
Classes that derive from the FileSystemSecurity 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.