%%PageItemTitle%%

Compare .NET Objects

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


Glossary Item Box

Ignore Data Table Names, Data Table Column Names, properties, or fields by name during the comparison. Case sensitive. The default is to compare all members.

Syntax

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

Example

MembersToIgnore.Add("CreditCardNumber"); MembersToIgnore.Add("Invoice.InvoiceGuid"); MembersToIgnore.Add("*Id");

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.