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.

Exception Condition
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.

SecurityAction::LinkDemand

for full trust for the immediate caller. This member cannot be used by partially trusted code.

SecurityAction::InheritanceDemand

for full trust for inheritors. This member cannot be inherited by partially trusted code.

.NET Framework
Available since 1.1
Return to top
Show: