Redigera

Dela via


RootContext(CodeExpression, Object) Constructor

Definition

Initializes a new instance of the RootContext class.

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

Parameters

expression
CodeExpression

The expression representing the root object in the object graph.

value
Object

The root object of the object graph.

Exceptions

expression or value is null.

Applies to

See also