This documentation is archived and is not being maintained.

IgnorePropertiesAttribute Class

Controls the visibility of a property or properties by ADO.NET Data Services.

Namespace:  System.Data.Services
Assembly:  System.Data.Services (in System.Data.Services.dll)

[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public sealed class IgnorePropertiesAttribute : Attribute

When this attribute is placed on a type that represents an entity type in a data service, the property name specified by this attribute is not visible at the representational state transfer (REST) service level.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5 SP1