SecurityAttribute.Unrestricted 屬性

定義

取得或設定數值,表示是否宣告由屬性所保護之資源的完整 (不受限制的) 使用權限。Gets or sets a value indicating whether full (unrestricted) permission to the resource protected by the attribute is declared.

public:
 property bool Unrestricted { bool get(); void set(bool value); };
public bool Unrestricted { get; set; }
member this.Unrestricted : bool with get, set
Public Property Unrestricted As Boolean

屬性值

Boolean

如果已宣告受保護之資源的完整使用權限,則為 true,否則為 falsetrue if full permission to the protected resource is declared; otherwise, false.

備註

所有實作為宣告式安全性之自訂屬性的類別,都會繼承此屬性。This property is inherited by all classes implementing custom attributes for declarative security.

適用於