Auf Englisch lesen

Freigeben über


Expression Konstruktoren

Definition

Erstellt eine neue Instanz von Expression.

Überlädt

Expression()

Erstellt eine neue Instanz von Expression.

Expression(ExpressionType, Type)
Veraltet.
Veraltet.

Initialisiert eine neue Instanz der Expression-Klasse.

Expression()

Quelle:
Expression.cs
Quelle:
Expression.cs
Quelle:
Expression.cs

Erstellt eine neue Instanz von Expression.

C#
protected Expression ();

Gilt für:

.NET 9 und andere Versionen
Produkt Versionen
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 1.0, 1.1, 1.2, 1.3, 1.4, 1.6, 2.0, 2.1
UWP 10.0

Expression(ExpressionType, Type)

Quelle:
Expression.cs
Quelle:
Expression.cs
Quelle:
Expression.cs

Achtung

use a different constructor that does not take ExpressionType. Then override NodeType and Type properties to provide the values that would be specified to this constructor.

Achtung

This constructor has been deprecated. Use a different constructor that does not take ExpressionType. Then override NodeType and Type properties to provide the values that would be specified to this constructor.

Initialisiert eine neue Instanz der Expression-Klasse.

C#
[System.Obsolete("use a different constructor that does not take ExpressionType. Then override NodeType and Type properties to provide the values that would be specified to this constructor.")]
protected Expression (System.Linq.Expressions.ExpressionType nodeType, Type type);
C#
[System.Obsolete("This constructor has been deprecated. Use a different constructor that does not take ExpressionType. Then override NodeType and Type properties to provide the values that would be specified to this constructor.")]
protected Expression (System.Linq.Expressions.ExpressionType nodeType, Type type);
C#
protected Expression (System.Linq.Expressions.ExpressionType nodeType, Type type);

Parameter

nodeType
ExpressionType

Der als Knotentyp festzulegende ExpressionType.

type
Type

Die Type dieses Expression.

Attribute

Hinweise

Dieser Konstruktor wird von Konstruktoren in abgeleiteten Klassen aufgerufen.

Gilt für:

.NET 9 und andere Versionen
Produkt Versionen (Veraltet)
.NET (Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9)
.NET Framework 3.5 (4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1)
.NET Standard (2.0, 2.1)