SecurityCriticalAttribute.Scope 属性

定义

注意

SecurityCriticalScope is only used for .NET 2.0 transparency compatibility.

获取特性的范围。

public:
 property System::Security::SecurityCriticalScope Scope { System::Security::SecurityCriticalScope get(); };
[System.Obsolete("SecurityCriticalScope is only used for .NET 2.0 transparency compatibility.")]
public System.Security.SecurityCriticalScope Scope { get; }
public System.Security.SecurityCriticalScope Scope { get; }
[<System.Obsolete("SecurityCriticalScope is only used for .NET 2.0 transparency compatibility.")>]
member this.Scope : System.Security.SecurityCriticalScope
member this.Scope : System.Security.SecurityCriticalScope
Public ReadOnly Property Scope As SecurityCriticalScope

属性值

用于指定特性范围的枚举值之一。 默认为 Explicit,指示特性仅适用于直接目标。

属性

适用于