FileNameAttribute(String) Constructor

Definition

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.

Applies to