| ThemeImporterImport Method |
Called by the framework when importing a game asset. This is the method called by XNA when
an asset is to be imported into an object that can be recognized by the Content Pipeline.
Namespace: DigitalRune.Game.UI.Content.PipelineAssembly: DigitalRune.Game.UI.Content.Pipeline (in DigitalRune.Game.UI.Content.Pipeline.dll) Version: 1.7.0.0 (1.7.0.14427)
Syntax public override ThemeContent Import(
string filename,
ContentImporterContext context
)
Public Overrides Function Import (
filename As String,
context As ContentImporterContext
) As ThemeContent
public:
virtual ThemeContent^ Import(
String^ filename,
ContentImporterContext^ context
) override
abstract Import :
filename : string *
context : ContentImporterContext -> ThemeContent
override Import :
filename : string *
context : ContentImporterContext -> ThemeContent
Parameters
- filename
- Type: SystemString
Name of a game asset file. - context
- Type: ContentImporterContext
Contains information for importing a game asset, such as a logger interface.
Return Value
Type:
ThemeContentResulting game asset.
See Also