The ContentAreaData type exposes the following members.

Constructors

  NameDescription
ContentAreaData
ContentAreaDataOverloaded.

Methods

  NameDescription
Clear
Removes all the instances of ContentFunctionData in the ContentAreaData instance.
Clone
Makes a shallow copy of the ContentAreaData instance.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetContentFunction
Gets the ContentFunctionData instance at the specified position in the ContentAreaData instance.
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
InsertContentFunction
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);
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
RebuildExtensionLink
Rebuild the extension links between page and functions after importing.
RemoveContentFunction
Removes a ContentFunctionData instance from the ContentAreaData instance.
RemoveContentFunctionAt
Removes the ContentFunctionData instance at the specified position.
ToExportableData
Converts the extension object to a transferable object before the Export process.
ToImportableData
Converts the imported object to an extension object respectively.
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Fields

Properties

  NameDescription
ContentFunctions
Gets or sets the content function collection for the content area.
Description
Gets or sets the description for the content area.
FunctionCount
Gets or sets the number of content functions inside this content area.
ID
Gets or sets the identity for the content area.

See Also