IgnorePropertiesAttribute Class

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

SystemObject
   SystemAttribute
    System.Data.ServicesIgnorePropertiesAttribute

Namespace:   System.Data.Services
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)
<[%$TOPIC/cc646904_en-us_VS_113_2_0_0_0_0%]([%$TOPIC/cc646904_en-us_VS_113_2_0_0_0_1%].Class, AllowMultiple := False, Inherited := True)> _
Public NotInheritable Class IgnorePropertiesAttribute _
	Inherits [%$TOPIC/cc646904_en-us_VS_113_2_0_0_0_2%]
Dim instance As IgnorePropertiesAttribute
[[%$TOPIC/cc646904_en-us_VS_113_2_0_2_0_0%]([%$TOPIC/cc646904_en-us_VS_113_2_0_2_0_1%].Class, AllowMultiple = false, Inherited = true)]
public sealed class IgnorePropertiesAttribute : [%$TOPIC/cc646904_en-us_VS_113_2_0_2_0_2%]
[[%$TOPIC/cc646904_en-us_VS_113_2_0_3_0_0%]([%$TOPIC/cc646904_en-us_VS_113_2_0_3_0_1%]::Class, AllowMultiple = false, Inherited = true)]
public ref class IgnorePropertiesAttribute sealed : public [%$TOPIC/cc646904_en-us_VS_113_2_0_3_0_2%]
[<SealedAttribute>]
[<[%$TOPIC/cc646904_en-us_VS_113_2_0_4_0_0%]([%$TOPIC/cc646904_en-us_VS_113_2_0_4_0_1%].Class, AllowMultiple = false, Inherited = true)>]
type IgnorePropertiesAttribute =  
    class 
        inherit [%$TOPIC/cc646904_en-us_VS_113_2_0_4_0_2%] 
    end
public final class IgnorePropertiesAttribute extends [%$TOPIC/cc646904_en-us_VS_113_2_0_5_0_0%]

The IgnorePropertiesAttribute type exposes the following members.

  NameDescription
Public method IgnorePropertiesAttribute(String)Initializes a new instance of the IgnorePropertiesAttribute class.
Public method IgnorePropertiesAttribute(String)Initializes a new instance of the IgnorePropertiesAttribute class.
Top
  NameDescription
Public property PropertyNamesGets or sets the property name or names to controlled by the IgnorePropertiesAttribute attribute.
Public property TypeId (Inherited from Attribute.)
Top
  NameDescription
Public method Equals (Inherited from Attribute.)
Public method GetHashCode (Inherited from Attribute.)
Public method GetType (Inherited from Object.)
Public method IsDefaultAttribute (Inherited from Attribute.)
Public method Match (Inherited from Attribute.)
Public method ToString (Inherited from Object.)
Top

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.