ContentWriter.WriteExternalReference Generic Method

Note

This generic method is available only when developing for Windows.

Writes the name of an external file to the output binary.

Syntax

'Declaration
Public Sub WriteExternalReference(Of T) ( _
         reference As ExternalReference(Of T) _
)
public void WriteExternalReference<T> (
         ExternalReference<T> reference
)
public:
generic<typename T>
void WriteExternalReference(
         ExternalReference<T> reference
)

Type Parameters

  • T
    The type of reference.

Parameters

  • reference
    Type: ExternalReference<T>
    External reference to a data file for the content item.

Requirements

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

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

See Also

Reference

ContentWriter Class
ContentWriter Members
Microsoft.Xna.Framework.Content.Pipeline.Serialization.Compiler Namespace

Platforms

Windows 7, Windows Vista, Windows XP