| Visual Basic (Declaration) | |
|---|---|
Public Function New( _ ByVal collection As IEnumerable(Of T), _ ByVal listReference As ListEntityReference(Of T) _ )  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim collection As IEnumerable(Of T) Dim listReference As ListEntityReference(Of T) Dim instance As New RelatedEntityList(Of T)(collection, listReference)  | |
| C# | |
|---|---|
public RelatedEntityList<T>( IEnumerable<T> collection, ListEntityReference<T> listReference )  | |
| C++/CLI | |
|---|---|
public: RelatedEntityList<T>( IEnumerable<T^>^ collection, ListEntityReference<T^>^ listReference )  | |
Parameters
- collection
 - List to be contained in the RelatedEntityList
 - listReference
 
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family