ContentImporterAttributeΒΆ

class ContentImporterAttribute : System.Attribute, System.Runtime.InteropServices._Attribute

Provides properties that identify and provide metadata about the importer, such as supported file extensions and caching information. Importers are required to initialize this attribute.

bool CacheImportedData

Gets and sets the caching of the content during importation.

string DefaultProcessor

Gets or sets the name of the default processor for content read by this importer.

string DisplayName

Gets or sets the string representing the importer in a user interface. This name is not used by the content pipeline and should not be passed to the BuildAssets task (a custom MSBuild task used by XNA Game Studio). It is used for display purposes only.

readonly System.Collections.Generic.IEnumerable<String> FileExtensions

Gets the supported file name extensions of the importer.