SecurityAttribute.Unrestricted 屬性

定義

取得或設定數值,表示是否宣告由屬性所保護之資源的完整 (不受限制的) 使用權限。

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

屬性值

如果已宣告受保護之資源的完整使用權限,則為 true,否則為 false

備註

這個屬性是由實作宣告式安全性之自訂屬性的所有類別所繼承。

適用於