ExternalReference<T>.ExternalReference<T> Method (Microsoft.Xna.Framework.Content.Pipeline)
Initializes a new instance of ExternalReference, specifying the file path relative to another content item.
Namespace: Microsoft.Xna.Framework.Content.Pipeline
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
- C#
- VB
- F#
public ExternalReference<T>( string filename, ContentIdentity relativeToContent )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
- filename
-
Type: System.String
The name of the referenced file.
- relativeToContent
-
Type: Microsoft.Xna.Framework.Content.Pipeline.ContentIdentity
The content that the path specified in filename is relative to.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows DirectX Desktop
Linux Desktop