Click or drag to resize

ISchemaManagerImportSchema(String, Boolean, Boolean) Method


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: 10.6.492
Syntax
ISchema ImportSchema(
	string schemaContent,
	bool overwrite = false,
	bool skipDraftMode = true
)

Parameters

schemaContent  String
XML content of a schema file.
overwrite  Boolean  (Optional)
Overwrite existing schema if found
skipDraftMode  Boolean  (Optional)

[Missing <param name="skipDraftMode"/> documentation for "M:Ingeniux.CMS.ISchemaManager.ImportSchema(System.String,System.Boolean,System.Boolean)"]

Return Value

ISchema
Imported content.
Exceptions
ExceptionCondition
ArgumentExceptionWhen the string is invalid XML or invalid schema XML.
Remarks

The content string must be parsed so that it is valid schema XML.

See Also