WinResourceReader: AddDecoder

AddDecoder

Adds additional resource decoders to interpret binary data that is unknown to the ResourceReader.



 Public Sub AddDecoder(
	  ByVal DecoderToAdd As IResourceDecoder )

Parameters

DecoderToAdd
[ByVal] IResourceDecoder. A resource decoder associated with a specific resource type.

Remarks

This allows the ResourceReader to be extended to handle additional resource types. If no decoder exists for the specific resource type, then the raw data is returned in a Byte array.

Resource types can be identified by either a numeric value, or a string name.

See Also

Project CorLib Overview

Class WinResourceReader Overview