ContentImporterAttribute Constructor (String )

Note

This constructor is available only when developing for Windows.

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

Syntax

'Declaration
Public Sub New ( _
         fileExtensions As String() _
)
public ContentImporterAttribute (
         params string[] fileExtensions
)
public:
ContentImporterAttribute(
         params String fileExtensions[]
)

Parameters

  • fileExtensions
    Type: String
    [ParamArrayAttribute] The list of file name extensions supported by the importer. Prefix each extension with a '.'.

Requirements

Namespace: Microsoft.Xna.Framework.Content.Pipeline

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

See Also

Reference

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

Platforms

Windows 7, Windows Vista, Windows XP