XmlImporter.Import Method
Called by the framework when importing an intermediate file containing a game asset.
Namespace: Microsoft.Xna.Framework.Content.Pipeline
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
Syntax
public override Object Import (
string filename,
ContentImporterContext context
)
Parameters
- filename
Name of the intermediate file. - context
Contains information for importing the intermediate file, such as a logger interface.
Return Value
Object representing the game asset contained by the intermediate file.
See Also
Reference
XmlImporter Class
XmlImporter Members
Microsoft.Xna.Framework.Content.Pipeline Namespace
Platforms
Windows XP SP2, Windows Vista