Sdílet prostřednictvím


ContentImporterAttribute Constructor (String)

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

Namespace: Microsoft.Xna.Framework.Content.Pipeline
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

Syntax

public ContentImporterAttribute (
         string fileExtension
)

Parameters

  • fileExtension
    The list of file name extensions supported by the importer. Prefix each extension with a '.'.

See Also

Reference

ContentImporterAttribute Class
ContentImporterAttribute Members
Microsoft.Xna.Framework.Content.Pipeline Namespace

Platforms

Windows XP SP2, Windows Vista