SemaphoreSecurity.AccessRightType 屬性
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得 SemaphoreSecurity 類別用來表示存取權限的列舉型別 (Enumeration)。
public:
virtual property Type ^ AccessRightType { Type ^ get(); };
C#
public override Type AccessRightType { get; }
member this.AccessRightType : Type
Public Overrides ReadOnly Property AccessRightType As Type
Type 物件,表示 SemaphoreRights 列舉型別。
衍生自 類別的 ObjectSecurity 類別會覆寫 AccessRightType 屬性,並傳回用來代表存取權限的類型。 當您使用包含多個安全性物件的陣列或集合時,請使用此屬性來判斷要與每個安全性物件搭配使用的正確列舉類型。
產品 | 版本 |
---|---|
.NET | Core 1.0, Core 1.1 |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |