แก้ไข

แชร์ผ่าน


CodeDomSerializerBase.IsSerialized Method

Definition

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

Overloads

IsSerialized(IDesignerSerializationManager, Object)

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

IsSerialized(IDesignerSerializationManager, Object, Boolean)

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

IsSerialized(IDesignerSerializationManager, Object)

Source:
CodeDomSerializerBase.cs
Source:
CodeDomSerializerBase.cs
Source:
CodeDomSerializerBase.cs

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

protected:
 bool IsSerialized(System::ComponentModel::Design::Serialization::IDesignerSerializationManager ^ manager, System::Object ^ value);
protected bool IsSerialized (System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object value);
member this.IsSerialized : System.ComponentModel.Design.Serialization.IDesignerSerializationManager * obj -> bool
Protected Function IsSerialized (manager As IDesignerSerializationManager, value As Object) As Boolean

Parameters

manager
IDesignerSerializationManager

The IDesignerSerializationManager to use for serialization.

value
Object

The object to test for previous serialization.

Returns

true if value has been serialized; otherwise, false.

Exceptions

manager or value is null.

Remarks

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.

See also

Applies to

IsSerialized(IDesignerSerializationManager, Object, Boolean)

Source:
CodeDomSerializerBase.cs
Source:
CodeDomSerializerBase.cs
Source:
CodeDomSerializerBase.cs

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

protected:
 bool IsSerialized(System::ComponentModel::Design::Serialization::IDesignerSerializationManager ^ manager, System::Object ^ value, bool honorPreset);
protected bool IsSerialized (System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object value, bool honorPreset);
member this.IsSerialized : System.ComponentModel.Design.Serialization.IDesignerSerializationManager * obj * bool -> bool
Protected Function IsSerialized (manager As IDesignerSerializationManager, value As Object, honorPreset As Boolean) As Boolean

Parameters

manager
IDesignerSerializationManager

The IDesignerSerializationManager to use for serialization.

value
Object

The object to test for previous serialization.

honorPreset
Boolean

true to include preset expressions; otherwise, false.

Returns

true if value has been serialized; otherwise, false.

Exceptions

manager or value is null.

Remarks

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.

See also

Applies to