Expression.MakeUnary Method (ExpressionType, Expression, Type)
Creates a UnaryExpression, given an operand, by calling the appropriate factory method.
Assembly: System.Core (in System.Core.dll)
'Declaration Public Shared Function MakeUnary ( _ unaryType As ExpressionType, _ operand As Expression, _ type As Type _ ) As UnaryExpression
public static UnaryExpression MakeUnary( ExpressionType unaryType, Expression operand, Type type )
The ExpressionType that specifies the type of unary operation.
The unaryType parameter determines which UnaryExpression factory method this method calls. For example, if unaryType is equal to Convert, this method invokes Convert. The type parameter is ignored if it does not apply to the factory method that is called.
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
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.