NewExpression.Members Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets the members that can retrieve the values of the fields that were initialized with constructor arguments.
Assembly: System.Core (in System.Core.dll)
Property Value
Type: System.Collections.ObjectModel.ReadOnlyCollection(Of MemberInfo)A collection of MemberInfo objects that represent the members that can retrieve the values of the fields that were initialized with constructor arguments.
The Members property provides a mapping between the constructor arguments and the type members that correspond to those values. In the case of the construction of an anonymous type, this property maps the constructor arguments to the properties that are exposed by the anonymous type. This mapping information is important because the fields that are initialized by the construction of an anonymous type, or the properties that access those fields, are not discoverable through the Constructor or Arguments properties of a NewExpression node.