NewExpression.Members Property
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Gets the members that can retrieve the values of the fields that were initialized with constructor arguments.
Namespace: System.Linq.Expressions
Assembly: System.Core (in System.Core.dll)
Syntax
'Declaration
Public ReadOnly Property Members As ReadOnlyCollection(Of MemberInfo)
public ReadOnlyCollection<MemberInfo> Members { get; }
Property Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<MemberInfo>
A collection of MemberInfo objects that represent the members that can retrieve the values of the fields that were initialized with constructor arguments.
Remarks
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.
Version Information
Silverlight
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
XNA Framework
Supported in: Windows Phone OS 7.0
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.