次の方法で共有


MemberInitExpression.Reduce Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Reduces the MemberInitExpression to a simpler expression.

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

Syntax

'Declaration
Public Overrides Function Reduce As Expression
public override Expression Reduce()

Return Value

Type: System.Linq.Expressions.Expression
The reduced expression.

Remarks

If the CanReduce method returns true, this method should return a valid expression.

This method is allowed to return another node which itself must be reduced.

Version Information

Silverlight

Supported in: 5, 4

Platforms

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