Visual Basic (Declaration) | |
---|---|
Public MustInherit Class Conversion |
Visual Basic (Usage) | ![]() |
---|---|
|
C# | |
---|---|
public abstract class Conversion |
Managed Extensions for C++ | |
---|---|
public __gc abstract class Conversion |
C++/CLI | |
---|---|
public ref class Conversion abstract |
A conversion is initiated by creating a Converter object and then calling
its Convert method.
The Convert method returns a Conversion which controls the conversion process.
In some cases, the conversion has already completed when Convert returns the
Conversion object; the Conversion object represents a completed
conversion. At any time, the status of a conversion can be determined with
ConversionStatus.
When the conversion source is a OutputStreamSource, a TextWriterSource or a XmlWriterSource, the conversion will not be complete and system resources will not be released until all data has been delivered or the conversion has been cancelled. The application can:
- Query the status of the conversion with ConversionStatus.
- Cancel the conversion with Cancel.
- Finish the conversion by closing the OutputStream or TextWriter, or by delivering the last EndElement in the XmlWriter data stream.
DDTek.XmlConverter.Conversion
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family