ExternalReference<T> Class (Microsoft.Xna.Framework.Content.Pipeline)

Specifies external references to a data file for the content item. While the object model is instantiated, reference file names are absolute. When the file containing the external reference is serialized to disk, file names are relative to the file. This allows movement of the content tree to a different location without breaking internal links.
System.Object
   Microsoft.Xna.Framework.Content.Pipeline.ContentItem
      Microsoft.Xna.Framework.Content.Pipeline.ExternalReference<T>

Namespace: Microsoft.Xna.Framework.Content.Pipeline
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public sealed class ExternalReference<T> : ContentItem

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The ExternalReference<T> type exposes the following members.

  Platforms Name Description
ExternalReference<T>() Initializes a new instance of ExternalReference. 
ExternalReference<T>(string) Initializes a new instance of ExternalReference. 
ExternalReference<T>(string, ContentIdentity) Initializes a new instance of ExternalReference, specifying the file path relative to another content item. 
Top
  Platforms Name Description
Filename Gets and sets the file name of an ExternalReference. 
Identity Gets or sets the identity of the content item. (Inherited from ContentItem.)
Name Gets or sets the name of the content item. (Inherited from ContentItem.)
OpaqueData Gets the opaque data of the content item. (Inherited from ContentItem.)
Top
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop