ComponentSpace Registry Toolkit Class Library Reference

RegistryExporter.ExportFile Method 

Export the registry key in standard Windows Registry Editor 5.00 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 export fails.

See Also

RegistryExporter Class | ComponentSpace.RegistryToolkit Namespace