Namespace:
System.Linq.Expressions
Assembly:
System.Core (in System.Core.dll)
Visual Basic (Declaration)
Public Shared Function Quote ( _
expression As Expression _
) As UnaryExpression
Dim expression As Expression
Dim returnValue As UnaryExpression
returnValue = Expression.Quote(expression)
public static UnaryExpression Quote(
Expression expression
)
public:
static UnaryExpression^ Quote(
Expression^ expression
)
public static function Quote(
expression : Expression
) : UnaryExpression
| Exception | Condition |
|---|
| ArgumentNullException |
expression is nullNothingnullptra null reference (Nothing in Visual Basic). |
The Type property of the resulting UnaryExpression represents the constructed type Expression<(Of <(TDelegate>)>), where the type argument is the type represented by expression.Type. The Method property is nullNothingnullptra null reference (Nothing in Visual Basic). Both IsLifted and IsLiftedToNull are false.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
.NET Framework
Supported in: 3.5
Reference