IResourceWriter.AddResource Method (String, Byte[])

 

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

Namespace:   System.Resources
Assembly:  mscorlib (in mscorlib.dll)

abstract AddResource : 
        name:string *
        value:byte[] -> unit

Parameters

name
Type: System.String

Name of a resource.

value
Type: System.Byte[]

Value of a resource as an 8-bit unsigned integer array.

Exception Condition
ArgumentNullException

The name parameter is null.

The resources are not written until the Generate method is called.

.NET Framework
Available since 1.1
Return to top
Show: