%%PageItemTitle%%

Compare .NET Objects

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


Glossary Item Box

Only compare elements by name for Data Table Names, Data Table Column Names, properties and fields. Case sensitive. The default is to compare all members.

Syntax

Visual Basic (Declaration) 
<System.Runtime.Serialization.DataMemberAttribute()>
Public Property MembersToInclude 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.MembersToInclude = value
 
value = instance.MembersToInclude
C# 
[System.Runtime.Serialization.DataMember()]
public System.Collections.Generic.List<string> MembersToInclude {get; set;}
Managed Extensions for C++ 
[System.Runtime.Serialization.DataMember()]
public: __property System.Collections.Generic.List<string*>* get_MembersToInclude();
public: __property void set_MembersToInclude( 
   System.Collections.Generic.List<string*>* value
);

Example

MembersToInclude.Add("FirstName")

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.