Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ExpressionContext Constructor (CodeExpression, Type, Object, Object)

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

Namespace:  System.ComponentModel.Design.Serialization
Assembly:  System.Design (in System.Design.dll)

public ExpressionContext(
	CodeExpression expression,
	Type expressionType,
	Object owner,
	Object presetValue
)

Parameters

expression
Type: System.CodeDom.CodeExpression

The given code expression.

expressionType
Type: System.Type

The given code expression type.

owner
Type: System.Object

The given code expression owner.

presetValue
Type: System.Object

The given code expression preset value.

ExceptionCondition
ArgumentNullException

expression, expressionType, or owner is null.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft