MemberListBinding Class
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Represents initializing the elements of a collection member of a newly created object.
Inheritance Hierarchy
System.Object
System.Linq.Expressions.MemberBinding
System.Linq.Expressions.MemberListBinding
Namespace: System.Linq.Expressions
Assembly: System.Core (in System.Core.dll)
Syntax
'Declaration
Public NotInheritable Class MemberListBinding _
Inherits MemberBinding
public sealed class MemberListBinding : MemberBinding
The MemberListBinding type exposes the following members.
Properties
Name | Description | |
---|---|---|
BindingType | Gets the type of binding that is represented. (Inherited from MemberBinding.) | |
Initializers | Gets the element initializers for initializing a collection member of a newly created object. | |
Member | Gets the field or property to be initialized. (Inherited from MemberBinding.) |
Top
Methods
Name | Description | |
---|---|---|
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a textual representation of the MemberBinding. (Inherited from MemberBinding.) | |
Update | Creates a new expression that is like this one, but using the supplied children. If all of the children are the same, it will return this expression. |
Top
Remarks
Use the ListBind factory methods to create a MemberListBinding.
A MemberListBinding has the BindingType property equal to ListBinding.
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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.