IContentImporter.Import Method (Microsoft.Xna.Framework.Content.Pipeline)
Imports an asset from the specified file.
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 abstract object Import( string filename, ContentImporterContext context )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
- filename
-
Type: System.String
Name of the game asset file.
- context
-
Type: Microsoft.Xna.Framework.Content.Pipeline.ContentImporterContext
A ContentImporterContext class containing information for importing a game asset, such as a logger interface.
Return Value
Type: System.ObjectResulting game asset.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows DirectX Desktop
Linux Desktop