|
| A Sandcastle Documented Class Library |
| cXMLHandler..::..SaveStringAsXMLFile Method |
| cXMLHandler Class See Also Send Feedback |
|
Saves the string as XML file.
Namespace: XMLConfigurationLib
Assembly: XMLConfigurationLib (in XMLConfigurationLib.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# |
|---|
public void SaveStringAsXMLFile( string filePath, string xmlContents, bool bDoValidation = true ) |
| Visual Basic |
|---|
Public Sub SaveStringAsXMLFile ( _ filePath As String, _ xmlContents As String, _ Optional bDoValidation As Boolean = True _ ) |
| Visual C++ |
|---|
public: void SaveStringAsXMLFile( String^ filePath, String^ xmlContents, bool bDoValidation = true ) |
Parameters
- filePath
- Type: System..::..String
The file path.
- xmlContents
- Type: System..::..String
The XML contents.
- bDoValidation (Optional)
- Type: System..::..Boolean
if set to true [b do validation].
Exceptions
| Exception | Condition |
|---|---|
| System..::..Exception | Some issue with saving the file |