Compartir a través de


Clase IgnorePropertiesAttribute

Controla la visibilidad de una propiedad o propiedades a través de Servicios de datos de Microsoft WCF.

Jerarquía de herencia

System.Object
  System.Attribute
    System.Data.Services.IgnorePropertiesAttribute

Espacio de nombres:  System.Data.Services
Ensamblado:  Microsoft.Data.Services (en Microsoft.Data.Services.dll)

Sintaxis

'Declaración
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := False, Inherited := True)> _
Public NotInheritable Class IgnorePropertiesAttribute _
    Inherits Attribute
'Uso
Dim instance As IgnorePropertiesAttribute
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public sealed class IgnorePropertiesAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = false, Inherited = true)]
public ref class IgnorePropertiesAttribute sealed : public Attribute
[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false, Inherited = true)>]
type IgnorePropertiesAttribute =  
    class
        inherit Attribute
    end
public final class IgnorePropertiesAttribute extends Attribute

El tipo IgnorePropertiesAttribute expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público IgnorePropertiesAttribute(String) Inicializa una nueva instancia de la clase IgnorePropertiesAttribute.
Método público IgnorePropertiesAttribute(array<String[]) Inicializa una nueva instancia de la clase IgnorePropertiesAttribute.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública PropertyNames Obtiene o establece el nombre o nombres de propiedad controlados por el atributo IgnorePropertiesAttribute.
Propiedad pública TypeId (Se hereda de Attribute.)

Arriba

Métodos

  Nombre Descripción
Método público Equals (Se hereda de Attribute.)
Método protegido Finalize (Se hereda de Object.)
Método público GetHashCode (Se hereda de Attribute.)
Método público GetType (Se hereda de Object.)
Método público IsDefaultAttribute (Se hereda de Attribute.)
Método público Match (Se hereda de Attribute.)
Método protegido MemberwiseClone (Se hereda de Object.)
Método público ToString (Se hereda de Object.)

Arriba

Implementaciones de interfaces explícitas

  Nombre Descripción
Implementación de interfaces explícitasMétodo privado _Attribute.GetIDsOfNames (Se hereda de Attribute.)
Implementación de interfaces explícitasMétodo privado _Attribute.GetTypeInfo (Se hereda de Attribute.)
Implementación de interfaces explícitasMétodo privado _Attribute.GetTypeInfoCount (Se hereda de Attribute.)
Implementación de interfaces explícitasMétodo privado _Attribute.Invoke (Se hereda de Attribute.)

Arriba

Comentarios

Cuando este atributo se coloca en un tipo que representa un tipo de entidad en un servicio de datos, el nombre de propiedad especificado por este atributo no es visible en el nivel del servicio de Transferencia de estado de representación (REST, Representational State Transfer).

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Vea también

Referencia

Espacio de nombres System.Data.Services