CodeDomSerializerBase::SerializeCreationExpression Method (IDesignerSerializationManager^, Object^, Boolean%)
.NET Framework (current version)
Returns an expression representing the creation of the given object.
Assembly: System.Design (in System.Design.dll)
protected: CodeExpression^ SerializeCreationExpression( IDesignerSerializationManager^ manager, Object^ value, [OutAttribute] bool% isComplete )
Parameters
- manager
-
Type:
System.ComponentModel.Design.Serialization::IDesignerSerializationManager^
The IDesignerSerializationManager to use for serialization.
- value
-
Type:
System::Object^
The object to serialize.
- isComplete
-
Type:
System::Boolean%
true if value was fully serialized; otherwise, false.
| Exception | Condition |
|---|---|
| ArgumentNullException | manager or value is null. |
The SerializeCreationExpression method can be used to serialize an expression that represents the creation of the value parameter. It is aware of instance descriptors.
The isComplete parameter is set to true if the expression represents a fully configured object, or false if further serialization must be done on the object’s properties.
.NET Framework
Available since 2.0
Available since 2.0
Show: