Partilhar via


SecurityCriticalAttribute.Scope Propriedade

Definição

Cuidado

SecurityCriticalScope is only used for .NET 2.0 transparency compatibility.

Obtém o escopo para o atributo.

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

Valor da propriedade

Um dos valores de enumeração que especifica o escopo do atributo. O padrão é Explicit, que indica que o atributo se aplica somente ao destino imediato.

Atributos

Aplica-se a