Export (0) Print
Expand All

ResXResourceWriter Constructor (String)

Initializes a new instance of the ResXResourceWriter class that writes the resources to the specified file.

Namespace:  System.Resources
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public ResXResourceWriter(
	string fileName
)

Parameters

fileName
Type: System.String

The output file name.

ExceptionCondition
DirectoryNotFoundException

The directory specified in filename does not exist.

This constructor creates filename if it does not exist and overwrites it if it does. If filename includes a directory path, the full path must exist or the constructor throws a DirectoryNotFoundException exception.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Show:
© 2015 Microsoft