Читати англійською Редагувати

Поділитися через


ResXResourceWriter.Generate Method

Definition

Writes all resources added by the AddResource(String, Byte[]) method to the output file or stream.

C#
public void Generate();

Implements

Exceptions

The resource has already been saved.

Remarks

The Generate method writes the resources to the output file or stream. If you want to write the resources as well as close the output file or stream, call the Close method.

The Generate method can be called only once. After calling the Generate method, all IResourceWriter methods other than Close will throw an exception.

Applies to

Продукт Версії
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10