Partilhar via


ContentTypeReader.Read Method (ContentReader, T)

Reads a strongly typed object from the current stream.

Syntax

'Declaration
Protected Internal MustOverride Function Read ( _
         input As ContentReader, _
         existingInstance As T _
) As T 
protected internal abstract T Read (
         ContentReader input,
         T existingInstance
)
protected:
internal:
T Read(
         ContentReader input,
         T existingInstance
) abstract

Parameters

Return Value

Type: T
The type of object to read.

Requirements

Namespace: Microsoft.Xna.Framework.Content

Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

See Also

Reference

ContentTypeReader Generic Class
ContentTypeReader Members
Microsoft.Xna.Framework.Content Namespace

Platforms

Windows Phone