AttributeInfoAttribute 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
The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*
Importante
Esta API no es conforme a CLS.
Representa una clase que contiene información sobre un atributo en tiempo de diseño. Esta clase no puede heredarse.
public ref class AttributeInfoAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property, AllowMultiple=true)]
[System.CLSCompliant(false)]
public sealed class AttributeInfoAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property, AllowMultiple=true)]
[System.CLSCompliant(false)]
[System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
public sealed class AttributeInfoAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property, AllowMultiple=true)>]
[<System.CLSCompliant(false)>]
type AttributeInfoAttribute = class
inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property, AllowMultiple=true)>]
[<System.CLSCompliant(false)>]
[<System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")>]
type AttributeInfoAttribute = class
inherit Attribute
Public NotInheritable Class AttributeInfoAttribute
Inherits Attribute
- Herencia
- Atributos
Comentarios
Note
En este material se describen los tipos y los espacios de nombres que están obsoletos. Para obtener más información, consulte Deprecated Types in Windows Workflow Foundation 4.5.
Esta clase se usa para representar atributos en tipos en tiempo de diseño (tipos que aún no se han compilado). Esto solo se produce cuando la validación se desencadena a través del diseñador.
Propiedades
| Nombre | Description |
|---|---|
| AttributeInfo |
Obsoletos.
Obtiene el AttributeInfo asociado a esta instancia. |
| TypeId |
Obsoletos.
Cuando se implementa en una clase derivada, obtiene un identificador único para este Attribute. (Heredado de Attribute) |
Métodos
| Nombre | Description |
|---|---|
| Equals(Object) |
Obsoletos.
Devuelve un valor que indica si esta instancia es igual a un objeto especificado. (Heredado de Attribute) |
| GetHashCode() |
Obsoletos.
Devuelve el código hash de esta instancia. (Heredado de Attribute) |
| GetType() |
Obsoletos.
Obtiene el Type de la instancia actual. (Heredado de Object) |
| IsDefaultAttribute() |
Obsoletos.
Cuando se reemplaza en una clase derivada, indica si el valor de esta instancia es el valor predeterminado de la clase derivada. (Heredado de Attribute) |
| Match(Object) |
Obsoletos.
Cuando se reemplaza en una clase derivada, devuelve un valor que indica si esta instancia es igual a un objeto especificado. (Heredado de Attribute) |
| MemberwiseClone() |
Obsoletos.
Crea una copia superficial del Objectactual. (Heredado de Object) |
| ToString() |
Obsoletos.
Devuelve una cadena que representa el objeto actual. (Heredado de Object) |
Implementaciones de interfaz explícitas
| Nombre | Description |
|---|---|
| _Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) |
Obsoletos.
Asigna un conjunto de nombres a un conjunto correspondiente de identificadores de envío. (Heredado de Attribute) |
| _Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) |
Obsoletos.
Recupera la información de tipo de un objeto, que se puede usar para obtener la información de tipo de una interfaz. (Heredado de Attribute) |
| _Attribute.GetTypeInfoCount(UInt32) |
Obsoletos.
Recupera el número de interfaces de información de tipo que proporciona un objeto (0 ó 1). (Heredado de Attribute) |
| _Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) |
Obsoletos.
Proporciona acceso a propiedades y métodos expuestos por un objeto . (Heredado de Attribute) |