IntermediateReader.ReadSharedResource Generic Method

Note

This generic method is available only when developing for Windows.

Reads a shared resource ID and records it for subsequent operations.

Syntax

'Declaration
Public Sub ReadSharedResource(Of T) ( _
         format As ContentSerializerAttribute, _
         fixup As Action(Of T) _
)
public void ReadSharedResource<T> (
         ContentSerializerAttribute format,
         Action<T> fixup
)
public:
generic<typename T>
void ReadSharedResource(
         ContentSerializerAttribute format,
         Action<T> fixup
)

Type Parameters

  • T
    The type to read.

Parameters

Requirements

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate

Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

See Also

Reference

IntermediateReader Class
IntermediateReader Members
Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate Namespace

Platforms

Windows 7, Windows Vista, Windows XP