FileExtensionAttribute(String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.