BitMapResourceEncoder: GetEncodedResource

GetEncodedResource

Retrieves the next encoded resource in the encoder.



 Public Function GetEncodedResource(
	  ByRef OutKey As ResourceKey,
	  ByRef OutValue ( ) As Byte ) As Boolean

Parameters

OutKey
[ByRef] ResourceKey. This is set to a ResourceKey object that uniquely identify the encoded resource.
OutValue
[ByRef] Byte. This will be set to a byte array.

Return Values

Boolean -  Returns True if an encoded resource was returned, False otherwise.

Remarks

This function can be called multiple times to retrieve multiple resources. As long as thre is a resource to be returned, True will be returned, otherwise False will be returned.

See Also

Project CorLib Overview

Class BitMapResourceEncoder Overview