Content Studio Web Content Management System
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Xml
Any authenticated user can successfully execute this method. Anonymous callers are supported.
[This is preliminary documentation and is subject to change.]
Gets a list of available page directive attributes, their values and description
Namespace: ContentStudio.Document
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
Parameters
- dirClass
- Type: ContentStudio.DocumentDirectiveControlDirectiveClass
The directive to retrieve information for
Return Value
Type: StringXml
Examples
<directive> <attributes> <attribute name="Name of the attribute" description="Description and usage"> <!--The type attribute below can be either "enum" for fixed values or "text" for text values --> <values type="enum" optional="false"> <value default="true" value="false" /> <value default="false" value="true" /> </values> </attribute> </attributes> </directive>
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | The Directive class argument is out of the range of valid values |
SecurityException | Content Studio runtime does not have permission to read the xml file that defines the data. |
FileNotFoundException | An error occurred when Content Studio tried to find the xml file that defines directive attributes |
Content Studio permissions
See Also