FileNameAttribute(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:
FileNameAttribute(System::String ^ fileName);
public:
FileNameAttribute(Platform::String ^ fileName);
FileNameAttribute(std::wstring const & fileName);
public FileNameAttribute (string fileName);
new Microsoft.VisualStudio.Utilities.FileNameAttribute : string -> Microsoft.VisualStudio.Utilities.FileNameAttribute
Public Sub New (fileName As String)
Parameters
- fileName
- String
The file extension.
Exceptions
fileName
is null or empty.