EncoderFallback: CreateFallbackBuffer

CreateFallbackBuffer

When implemented in a derived class, initializes a new instance of the EncoderFallbackBuffer class.



 Public Function CreateFallbackBuffer ( ) As EncoderFallbackBuffer

Return Values

EncoderFallbackBuffer -  An object that provides a fallback buffer for an encoder.

Remarks

This method returns an object derived from EncoderFallbackBuffer that is responsible for performing the fallback operation. For example, of the predefined EncoderFallback implementations in VBCorLib, the EncoderReplacementFallback.CreateFallbackBuffer method returns an EncoderReplacementFallbackBuffer object, and the EncoderExceptionFallback.CreateFallbackBuffer method returns an EncoderExceptionFallbackBuffer object.

See Also

Project CorLib Overview

Class EncoderFallback Overview