ElementInit.AddMethod Property

 

Gets the instance method that is used to add an element to an IEnumerable collection.

Namespace:   System.Linq.Expressions
Assembly:  System.Core (in System.Core.dll)

public MethodInfo AddMethod { get; }

Property Value

Type: System.Reflection.MethodInfo

A MethodInfo that represents an instance method that adds an element to a collection.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.5
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show: