This documentation is archived and is not being maintained.

ResourceWriter.AddResource Method

Adds a resource to the list of resources to be written.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method AddResource(String, Byte[]) Adds a named resource specified as a byte array to the list of resources to be written.
Public method AddResource(String, Stream) Adds a named resource specified as a stream to the list of resources to be written.
Public method AddResource(String, Object) Adds a named resource specified as an object to the list of resources to be written.
Public method AddResource(String, String) Adds a string resource to the list of resources to be written.
Public method AddResource(String, Stream, Boolean) Adds a named resource specified as a stream to the list of resources to be written, and specifies whether the stream should be closed after the Generate method is called.
Top
Show: