ContentImporterAttribute Class (Microsoft.Xna.Framework.Content.Pipeline)

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.
System.Object
   System.Attribute
      Microsoft.Xna.Framework.Content.Pipeline.ContentImporterAttribute

Namespace: Microsoft.Xna.Framework.Content.Pipeline
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public class ContentImporterAttribute : Attribute

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The ContentImporterAttribute type exposes the following members.

  Platforms Name Description
ContentImporterAttribute(string) Initializes a new instance of ContentImporterAttribute and sets the file name extension supported by the importer. 
ContentImporterAttribute(String[]) Initializes a new instance of ContentImporterAttribute and sets the file name extensions supported by the importer. 
Top
  Platforms Name Description
CacheImportedData Gets and sets the caching of the content during importation. 
DefaultProcessor Gets or sets the name of the default processor for content read by this importer. 
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. 
FileExtensions Gets the supported file name extensions of the importer. 
Top
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop