ComponentSpace Registry Toolkit Class Library Reference

RegistryXmlExporter.ExportFile Method 

Export the registry key in XML format.

[Visual Basic]
Public Shared Sub ExportFile( _
   ByVal registryKey As RegistryKey, _
   ByVal fileName As String _
)
[C#]
public static void ExportFile(
   RegistryKey registryKey,
   string fileName
);

Parameters

registryKey
The key to export.
fileName
The file where the exported text is written.

Exceptions

Exception Type Condition
RegistryToolkitException Thrown when the registry export operation fails.

See Also

RegistryXmlExporter Class | ComponentSpace.RegistryToolkit Namespace