Bewerken

Delen via


ExpressionContext Constructors

Definition

Initializes a new instance of the ExpressionContext class.

Overloads

ExpressionContext(CodeExpression, Type, Object)

Initializes a new instance of the ExpressionContext class with the given expression and owner.

ExpressionContext(CodeExpression, Type, Object, Object)

Initializes a new instance of the ExpressionContext class with a current value.

ExpressionContext(CodeExpression, Type, Object)

Source:
ExpressionContext.cs
Source:
ExpressionContext.cs
Source:
ExpressionContext.cs

Initializes a new instance of the ExpressionContext class with the given expression and owner.

public:
 ExpressionContext(System::CodeDom::CodeExpression ^ expression, Type ^ expressionType, System::Object ^ owner);
public ExpressionContext (System.CodeDom.CodeExpression expression, Type expressionType, object owner);
new System.ComponentModel.Design.Serialization.ExpressionContext : System.CodeDom.CodeExpression * Type * obj -> System.ComponentModel.Design.Serialization.ExpressionContext
Public Sub New (expression As CodeExpression, expressionType As Type, owner As Object)

Parameters

expression
CodeExpression

The given code expression.

expressionType
Type

The given code expression type.

owner
Object

The given code expression owner.

Exceptions

expression, expressionType, or owner is null.

See also

Applies to

ExpressionContext(CodeExpression, Type, Object, Object)

Source:
ExpressionContext.cs
Source:
ExpressionContext.cs
Source:
ExpressionContext.cs

Initializes a new instance of the ExpressionContext class with a current value.

public:
 ExpressionContext(System::CodeDom::CodeExpression ^ expression, Type ^ expressionType, System::Object ^ owner, System::Object ^ presetValue);
public ExpressionContext (System.CodeDom.CodeExpression expression, Type expressionType, object owner, object presetValue);
public ExpressionContext (System.CodeDom.CodeExpression expression, Type expressionType, object owner, object? presetValue);
new System.ComponentModel.Design.Serialization.ExpressionContext : System.CodeDom.CodeExpression * Type * obj * obj -> System.ComponentModel.Design.Serialization.ExpressionContext
Public Sub New (expression As CodeExpression, expressionType As Type, owner As Object, presetValue As Object)

Parameters

expression
CodeExpression

The given code expression.

expressionType
Type

The given code expression type.

owner
Object

The given code expression owner.

presetValue
Object

The given code expression preset value.

Exceptions

expression, expressionType, or owner is null.

See also

Applies to