SecurityCriticalAttribute.Scope Property

Definition

Warning

This API is now obsolete.

Gets the scope for the attribute.

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; }
member this.Scope : System.Security.SecurityCriticalScope
Public ReadOnly Property Scope As SecurityCriticalScope

Property Value

One of the enumeration values that specifies the scope of the attribute. The default is Explicit, which indicates that the attribute applies only to the immediate target.

Attributes

Applies to