DirectiveControlDirectiveClass Enumeration Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Indicates the supported directives of a Content Studio ASPX-document.

Namespace: ContentStudio.Document
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)

public enum DirectiveClass

  Member nameValueDescription
Undefined0Undefined directive type. This value is illegal and is used internally by Content Studio only.
Page1The page directive
Reference2The reference directive
OutputCache3Declaratively controls the output caching policies of an ASP.NET page or a user control contained in a page.
Register4Creates an association between a tag prefix and a custom control, which provides developers with a concise way to refer to custom controls in an ASP.NET application file (including Web pages, user controls, and master pages).
Control5Defines user control (.ascx file)-specific attributes that are used by the ASP.NET page parser and compiler. This directive can be used only with ASP.NET User Controls (whose source code is contained in .ascx files).
Master6Defines master pageospecific (.master file) attributes that are used by the ASP.NET page parser and compiler.
Import7Explicitly imports a namespace into an ASP.NET application file, making all classes and interfaces of the imported namespace available to the file. The imported namespace can be part of the .NET Framework class library or a user-defined namespace.
Assembly8Links an assembly to an ASP.NET application file during compilation, making all the assembly's classes and interfaces available for use.
See Also