Sdílet prostřednictvím


ContentReader Members

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

Public Properties

Name Description
Public Property AssetName Gets the name of the asset currently being read by this ContentReader.
Public Property BaseStream (Inherited from BinaryReader.)
Public Property ContentManager Gets the ContentManager associated with the ContentReader.

Public Methods

Name Description
Public Method Close (Inherited from BinaryReader.)
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method PeekChar (Inherited from BinaryReader.)
Public Method Read (Overloaded. Inherited from BinaryReader.)
Public Method ReadBoolean (Inherited from BinaryReader.)
Public Method ReadByte (Inherited from BinaryReader.)
Public Method ReadBytes (Inherited from BinaryReader.)
Public Method ReadChar (Inherited from BinaryReader.)
Public Method ReadChars (Inherited from BinaryReader.)
Public Method ReadColor Reads a Color value from the currently open stream.
Public Method ReadDouble Reads a double value from the currently open stream.
Public Method ReadExternalReference Reads a link to an external file.
Public Method ReadInt16 (Inherited from BinaryReader.)
Public Method ReadInt32 (Inherited from BinaryReader.)
Public Method ReadInt64 (Inherited from BinaryReader.)
Public Method ReadMatrix Reads a Matrix value from the currently open stream.
Public Method ReadObject Overloaded. Reads a single managed object from the current stream. Can be called recursively.
Public Method ReadQuaternion Reads a Quaternion value from the current stream.
Public Method ReadRawObject Overloaded. Reads a single managed object from the current stream as an instance of the specified type. If a base class of the actual object type is specified only data from the base type will be read.
Public Method ReadSByte (Inherited from BinaryReader.)
Public Method ReadSharedResource Reads a shared resource ID, and records it for subsequent fix-up.
Public Method ReadSingle Reads a float value from the currently open stream.
Public Method ReadString (Inherited from BinaryReader.)
Public Method ReadUInt16 (Inherited from BinaryReader.)
Public Method ReadUInt32 (Inherited from BinaryReader.)
Public Method ReadUInt64 (Inherited from BinaryReader.)
Public Method ReadVector2 Reads a Vector2 value from the current stream.
Public Method ReadVector3 Reads a Vector3 value from the current stream.
Public Method ReadVector4 Reads a Vector4 value from the current stream.
Public Method ToString (Inherited from Object.)

Protected Methods

Name Description
Protected Method Dispose (Inherited from BinaryReader.)
Protected Method FillBuffer (Inherited from BinaryReader.)
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Reference

ContentReader Class
Microsoft.Xna.Framework.Content Namespace