Expression::Type Property

 

Gets the static type of the expression that this Expression represents.

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

public:
property Type^ Type {
	virtual Type^ get();
}

Property Value

Type: System::Type^

The Type that represents the static type of the expression.

The NodeType is the type of the expression tree node, whereas the Type represents the static common language runtime (CLR) type of the expression that the node represents. For example, two nodes with different node types can have the same Type, as shown in the following code example.

No code example is currently available or this language may not be supported.

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: