CodeDomSerializerBase.IsSerialized Method (IDesignerSerializationManager, Object)


Returns a value indicating whether the given object has been serialized.

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

protected bool IsSerialized(
	IDesignerSerializationManager manager,
	object value


Type: System.ComponentModel.Design.Serialization.IDesignerSerializationManager

The IDesignerSerializationManager to use for serialization.

Type: System.Object

The object to test for previous serialization.

Return Value

Type: System.Boolean

true if value has been serialized; otherwise, false.

Exception Condition

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