Export (0) Print
Expand All

IDesignTimeResourceWriter Interface

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

Namespace:  System.Web.UI.Design
Assembly:  System.Design (in System.Design.dll)

public interface IDesignTimeResourceWriter : IResourceWriter, 
	IDisposable

The IDesignTimeResourceWriter type exposes the following members.

  NameDescription
Public methodAddResource(String, Byte[])Adds an 8-bit unsigned integer array as a named resource to the list of resources to be written. (Inherited from IResourceWriter.)
Public methodAddResource(String, Object)Adds a named resource of type Object to the list of resources to be written. (Inherited from IResourceWriter.)
Public methodAddResource(String, String)Adds a named resource of type String to the list of resources to be written. (Inherited from IResourceWriter.)
Public methodCloseCloses the underlying resource file or stream, ensuring all the data has been written to the file. (Inherited from IResourceWriter.)
Public methodCreateResourceKeyCreates a key, using the provided string, to use to retrieve data from the given resource.
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.)
Public methodGenerateWrites all the resources added by the AddResource method to the output file or stream. (Inherited from IResourceWriter.)
Top

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft