IContentImporter.Import Method
Imports an asset from the specified file.
Namespace: Microsoft.Xna.Framework.Content.Pipeline
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
Syntax
public Object Import (
string filename,
ContentImporterContext context
)
Parameters
- filename
Name of the game asset file. - context
A ContentImporterContext class containing information for importing a game asset, such as a logger interface.
Return Value
Resulting game asset.
See Also
Reference
IContentImporter Interface
IContentImporter Members
Microsoft.Xna.Framework.Content.Pipeline Namespace
Platforms
Windows XP SP2, Windows Vista