ExpressionContext Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
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)
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
الملاحظات
https://aka.ms/ContentUserFeedback.
قريبًا: خلال عام 2024، سنتخلص تدريجيًا من GitHub Issues بوصفها آلية إرسال ملاحظات للمحتوى ونستبدلها بنظام ملاحظات جديد. لمزيد من المعلومات، راجعإرسال الملاحظات وعرضها المتعلقة بـ