CodeDomSerializer.SerializeMember Method (IDesignerSerializationManager, Object, MemberDescriptor)

 

Serializes the given member on the given object.

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

public virtual CodeStatementCollection SerializeMember(
	IDesignerSerializationManager manager,
	object owningObject,
	MemberDescriptor member
)

Parameters

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

The serialization manager to use for serialization.

owningObject
Type: System.Object

The object to which is member attached.

member
Type: System.ComponentModel.MemberDescriptor

The member to serialize.

Return Value

Type: System.CodeDom.CodeStatementCollection

A CodeStatementCollection representing the serialized state of member.

Exception Condition
ArgumentNullException

manager, owningObject, or member is null.

NotSupportedException

member is not a serializable type.

.NET Framework
Available since 2.0
Return to top
Show: