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.5.2, 4.5.1, 4.5, 4, 3.5, 3.0, 2.0

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft