RootContext(CodeExpression, Object) Constructor
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 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.