Export (0) Print
Expand All

NewExpression.Members Property

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)

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.

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.

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

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2015 Microsoft