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 | |
---|---|---|
IgnorePropertiesAttribute(String) | Inicializa una nueva instancia de la clase IgnorePropertiesAttribute. | |
IgnorePropertiesAttribute(array<String[]) | Inicializa una nueva instancia de la clase IgnorePropertiesAttribute. |
Arriba
Propiedades
Nombre | Descripción | |
---|---|---|
PropertyNames | Obtiene o establece el nombre o nombres de propiedad controlados por el atributo IgnorePropertiesAttribute. | |
TypeId | (Se hereda de Attribute.) |
Arriba
Métodos
Nombre | Descripción | |
---|---|---|
Equals | (Se hereda de Attribute.) | |
Finalize | (Se hereda de Object.) | |
GetHashCode | (Se hereda de Attribute.) | |
GetType | (Se hereda de Object.) | |
IsDefaultAttribute | (Se hereda de Attribute.) | |
Match | (Se hereda de Attribute.) | |
MemberwiseClone | (Se hereda de Object.) | |
ToString | (Se hereda de Object.) |
Arriba
Implementaciones de interfaces explícitas
Nombre | Descripción | |
---|---|---|
_Attribute.GetIDsOfNames | (Se hereda de Attribute.) | |
_Attribute.GetTypeInfo | (Se hereda de Attribute.) | |
_Attribute.GetTypeInfoCount | (Se hereda de Attribute.) | |
_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.