Share via


ContentTypeReaderManager.GetTypeReader Method

Looks up a reader for the specified type.

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

Syntax

public ContentTypeReader GetTypeReader (
         Type targetType
)

Parameters

  • targetType
    The type the reader will handle.

Return Value

The created ContentTypeReader.

See Also

Reference

ContentTypeReaderManager Class
ContentTypeReaderManager Members
Microsoft.Xna.Framework.Content Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista