ISchemaWithVersionsUpdateContent Method
|
Updates the schema with provided XML content and saves the schema in draft mode.
If new content doesn't have a matching root name and friendly name, it will not be accepted.
Namespace:
Ingeniux.CMS
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
Syntax void UpdateContent(
XDocument newContent
)
Sub UpdateContent (
newContent As XDocument
)
void UpdateContent(
XDocument^ newContent
)
abstract UpdateContent :
newContent : XDocument -> unit
Parameters
- newContent
- Type: System.Xml.LinqXDocument
New content of schema XML
Exceptions Exception | Condition |
---|
[!:System.InvalidDataException] | When the document has invalid schema XML |
See Also