XNA Game Studio 4.0 Refresh
ContentTypeReader.Read Method (ContentReader, T)
Reads a strongly typed object from the current stream.
Namespace: Microsoft.Xna.Framework.Content
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
C#
protected internal abstract T Read ( ContentReader input, T existingInstance )
Parameters
- input
- Type: ContentReader
The ContentReader used to read the object. - existingInstance
- Type: T
An existing object to read into.
Return Value
The type of object to read.
See Also
Reference
Platforms
Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone