%%PageItemTitle%%

Compare .NET Objects

Compare .NET Objects
AttributesToIgnore Property
See Also  Send Feedback
KellermanSoftware.CompareNetObjects Namespace > ComparisonConfig Class : AttributesToIgnore Property


Glossary Item Box

A list of attributes to ignore a class, property or field

Syntax

Visual Basic (Declaration) 
<System.Runtime.Serialization.DataMemberAttribute()>
Public Property AttributesToIgnore As System.Collections.Generic.List(Of Type)
Visual Basic (Usage)Copy Code
Dim instance As ComparisonConfig
Dim value As System.Collections.Generic.List(Of Type)
 
instance.AttributesToIgnore = value
 
value = instance.AttributesToIgnore
C# 
[System.Runtime.Serialization.DataMember()]
public System.Collections.Generic.List<Type> AttributesToIgnore {get; set;}
Managed Extensions for C++ 
[System.Runtime.Serialization.DataMember()]
public: __property System.Collections.Generic.List<Type*>* get_AttributesToIgnore();
public: __property void set_AttributesToIgnore( 
   System.Collections.Generic.List<Type*>* value
);

Example

AttributesToIgnore.Add(typeof(XmlIgnoreAttribute));

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© Kellerman Software 2018 All Rights Reserved.