Bewerken

Share via


PreserializedResourceWriter.AddTypeConverterResource Method

Definition

Adds a resource of the specified type represented by a byte array that is passed to the type's TypeConverter when reading the resource.

public:
 void AddTypeConverterResource(System::String ^ name, cli::array <System::Byte> ^ value, System::String ^ typeName);
public void AddTypeConverterResource (string name, byte[] value, string typeName);
member this.AddTypeConverterResource : string * byte[] * string -> unit
Public Sub AddTypeConverterResource (name As String, value As Byte(), typeName As String)

Parameters

name
String

The resource name.

value
Byte[]

A byte array containing the resource in a form understood by the type's TypeConverter.

typeName
String

The assembly qualified type name of the resource.

Applies to