The ContentAreaData type exposes the following members.

Constructors

  NameDescription
Private methodStatic memberContentAreaData
Public methodContentAreaData()()()()
Initializes an instance of the ContentAreaData class.
Public methodContentAreaData(String, String)
Initializes an instance of the ContentAreaData class with the specified identity and description.

Methods

  NameDescription
Public methodClear
Removes all the instances of ContentFunctionData in the ContentAreaData instance.
Public methodClone
Makes a shallow copy of the ContentAreaData instance.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetContentFunction
Gets the ContentFunctionData instance at the specified position in the ContentAreaData instance.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInsertContentFunction
Insert a ContentFunctionData into this ContentAreaData at index position.

Examples

The following example creates an instance of ContentFunctionData then inserts it in to the ContentAreaData instance at the first position of the collection.
CopyC#
// Create a content function
ContentFunctionData text = ContentFunctionData.Create(page.CurrentPage.PageLink, functionTypeID);
// Get a content area from the extension page
ContentAreaData contentArea = page.GetContentAreas()[1];
// insert the content function into the area
contentArea.InsertContentFunction(text, 0);
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRebuildExtensionLink
Rebuild the extension links between page and functions after importing.
Public methodRemoveContentFunction
Removes a ContentFunctionData instance from the ContentAreaData instance.
Public methodRemoveContentFunctionAt
Removes the ContentFunctionData instance at the specified position.
Public methodToExportableData
Converts the extension object to a transferable object before the Export process.
Public methodToImportableData
Converts the imported object to an extension object respectively.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Fields

Properties

  NameDescription
Public propertyContentFunctions
Gets or sets the content function collection for the content area.
Public propertyDescription
Gets or sets the description for the content area.
Public propertyFunctionCount
Gets or sets the number of content functions inside this content area.
Public propertyID
Gets or sets the identity for the content area.

See Also