ISchema
|
The ISchemaContent type exposes the following members.
| Name | Description | |
|---|---|---|
| Count | Gets the number of fields in this content item. | |
| ID | Gets/sets the ID of the content item. | |
| IsComponent | Gets/sets if this is a component page or schema for a component page. | |
| Item | Gets one of this content item's fields by its index number. | |
| PageName | Gets/sets the name of the content item. | |
| Presentations | Gets/sets the schema's/pages presentations collection. | |
| RootName | Gets/sets the root name of the schema, which is also the root element name of this version's serialized XML document. | |
| SourceContent | Gets the content from the source schema this item was based on. | |
| Stylesheet | Gets/sets the entry XSLT style sheet name, located in the "xml/stylesheets" folder. | |
| ViewName | Gets/sets the name of this content type's MVC view. |
| Name | Description | |
|---|---|---|
| Add | Add a field at the specified location. | |
| Clone | Clones this content. | |
| HasField | Gets if a field with the specified ID exists in this content item. | |
| Remove(Int32) | Removes one of this content item's fields by its index number. | |
| Remove(String) | Removes one of this content item's fields by its unique ID. | |
| Replace | Replace a field at the specified location. This is a combination of replace and content transfer. If the new field to add matches names in the current field list, transfer the content over to the replacement. | |
| ToSchemaFields | Gets a list of fields for this content item. |