Partager via


FileExtensionAttribute(String) Constructor

Definition

Constructs a new instance of the attribute.

public:
 FileExtensionAttribute(System::String ^ fileExtension);
public:
 FileExtensionAttribute(Platform::String ^ fileExtension);
 FileExtensionAttribute(std::wstring const & fileExtension);
public FileExtensionAttribute (string fileExtension);
new Microsoft.VisualStudio.Utilities.FileExtensionAttribute : string -> Microsoft.VisualStudio.Utilities.FileExtensionAttribute
Public Sub New (fileExtension As String)

Parameters

fileExtension
String

The file extension.

Exceptions

fileExtension is null or empty.

Applies to