CodeDomSerializerBase::IsSerialized Method (IDesignerSerializationManager^, Object^, Boolean)

 

Returns a value indicating whether the given object has been serialized, optionally considering preset expressions.

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

protected:
bool IsSerialized(
	IDesignerSerializationManager^ manager,
	Object^ value,
	bool honorPreset
)

Parameters

manager
Type: System.ComponentModel.Design.Serialization::IDesignerSerializationManager^

The IDesignerSerializationManager to use for serialization.

value
Type: System::Object^

The object to test for previous serialization.

honorPreset
Type: System::Boolean

true to include preset expressions; otherwise, false.

Return Value

Type: System::Boolean

true if value has been serialized; otherwise, false.

Exception Condition
ArgumentNullException

manager or value is null.

For the value parameter to be considered serialized, the manager parameter or another serializer must have called the SetExpression method to create a relationship between value and a referring expression.

.NET Framework
Available since 2.0
Return to top
Show: