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

Initializes a new instance of ContentImporterAttribute and sets the file name extension supported by the importer.

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

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

fileExtension
Type: System.String
The list of file name extensions supported by the importer. Prefix each extension with a '.'.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop