XQuery.Serialize Method (string)XQuery.Serialize Method (String)XQuery::Serialize Method (String^)
Serializes the result of the query to the specified file.
Parameters
- outputFileName
Type: System.StringSystem.StringSystem::String^
The name of the file to which the result of the query will be written. The outputFileName must be a file system path.
Exceptions
Exception | Condition |
ArgumentNullExceptionArgumentNullExceptionArgumentNullException |
outputFileName is null
a null reference (Nothing in Visual Basic)
nullptr .
|
XdmExceptionXdmExceptionXdmException | A dynamic error was encountered while evaluating the query. |