ISchemaManagerImportSchema Method (XDocument, Boolean) Ingeniux CMS Content Store API

Imports a schema with a string serialization of the previous-generation schema XML file.

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax

ISchema ImportSchema(
	XDocument schemaContent,
	bool overwrite = false
)

Parameters

schemaContent
Type: System.Xml.LinqXDocument
XML content of a schema file.
overwrite (Optional)
Type: SystemBoolean
Overwrite existing schema if found

Return Value

Type: ISchema
Imported content.
Exceptions

ExceptionCondition
ArgumentExceptionWhen the string is invalid XML or invalid schema XML.
Remarks

The content must be valid schema XML.

See Also

Reference