PreserveAttribute Clase
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Precaución
Please use [System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute]
Identifica el código que deben conservar los vinculadores de Android anteriores. Este atributo está obsoleto; Es posible que los miembros anotados todavía se recorten. Utilice DynamicDependencyAttribute en su lugar.
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Constructor | System.AttributeTargets.Delegate | System.AttributeTargets.Enum | System.AttributeTargets.Event | System.AttributeTargets.Field | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Property | System.AttributeTargets.Struct)]
[System.Obsolete("Please use [System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute]")]
public sealed class PreserveAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Constructor | System.AttributeTargets.Delegate | System.AttributeTargets.Enum | System.AttributeTargets.Event | System.AttributeTargets.Field | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Property | System.AttributeTargets.Struct)>]
[<System.Obsolete("Please use [System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute]")>]
type PreserveAttribute = class
inherit Attribute
- Herencia
-
PreserveAttribute
- Atributos
Constructores
| Nombre | Description |
|---|---|
| PreserveAttribute() |
Obsoletos.
Inicializa una nueva instancia de este atributo obsoleto. |
Campos
| Nombre | Description |
|---|---|
| AllMembers |
Obsoletos.
Cuando se establece |
| Conditional |
Obsoletos.
Cuando se establece |