FileSystemSecurity.AccessRuleType FileSystemSecurity.AccessRuleType FileSystemSecurity.AccessRuleType FileSystemSecurity.AccessRuleType Property

定義

取得 FileSystemSecurity 類別用來表示存取規則的列舉型別。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

屬性值

Type 物件,表示 FileSystemAccessRule 類別。A Type object representing the FileSystemAccessRule class.

備註

衍生自FileSystemSecurity類別的類別會覆AccessRuleType寫屬性, 並傳回用來代表存取規則的類型。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.

適用於