Edit

Share via


IDesignTimeResourceWriter Interface

Definition

Used by the DesignTimeResourceProviderFactory class to localize data at design time.

C#
public interface IDesignTimeResourceWriter : System.Resources.IResourceWriter
Implements

Methods

AddResource(String, Byte[])

Adds an 8-bit unsigned integer array as a named resource to the list of resources to be written.

(Inherited from IResourceWriter)
AddResource(String, Object)

Adds a named resource of type Object to the list of resources to be written.

(Inherited from IResourceWriter)
AddResource(String, String)

Adds a named resource of type String to the list of resources to be written.

(Inherited from IResourceWriter)
Close()

Closes the underlying resource file or stream, ensuring all the data has been written to the file.

(Inherited from IResourceWriter)
CreateResourceKey(String, Object)

Creates a key, using the provided string, to use to retrieve data from the given resource.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

(Inherited from IDisposable)
Generate()

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

(Inherited from IResourceWriter)

Applies to

Product Versions
.NET Framework 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

See also