共用方式為


ContentTypeSerializer Members

The following tables list the members exposed by the ContentTypeSerializer type.

Public Constructors

Name Description
Public Method ContentTypeSerializer Overloaded. Initializes a new instance of the ContentTypeSerializer class.

Public Properties

Name Description
Public Property CanDeserializeIntoExistingObject Gets a value indicating whether this component may load data into an existing object or if it must it construct a new instance of the object before loading the data.
Public Property TargetType Gets the type handled by this serializer component.
Public Property XmlTypeName Gets a short-form XML name for the target type, or null if there is none.

Public Methods

Name Description
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method ObjectIsEmpty Queries whether an object contains data to be serialized.
Public Method ToString (Inherited from Object.)

Protected Methods

Name Description
Protected Method Deserialize Deserializes an object from intermediate XML format.
Protected Method Finalize (Inherited from Object.)
Protected Method Initialize Retrieves and caches any nested type serializers and allows reflection over the target data type.
Protected Method MemberwiseClone (Inherited from Object.)
Protected Method ScanChildren Examines the children of the specified object, passing each to a callback delegate.
Protected Method Serialize Serializes an object to intermediate XML format.

See Also

Reference

ContentTypeSerializer Class
Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate Namespace