Placeholder Parentage

Table B-9 shows the complete parentage of the CMS Placeholder class. The properties and methods listed in italics in the table are defined by the class in the column header and then inherited by the derived class(es) to the left. So, for instance, only GetHashCode is coded in the CmsObject class, whereas Equals, GetType, and ToString are coded in the System.Object class and then inherited by the CmsObject class. All these members are inherited by the Placeholder class. Datasource, for example, is coded in the Placeholder class and is not inherited by any other class.

Table B-9. Placeholder Parentage

Placeholder

CmsObject

System.Object

Public Properties

Datasource

  

Datasource.RawContent

  

Definition

  

Name

  

Posting

  

Public Methods

Equals

Equals

Equals

GetHashCode

GetHashCode

 

GetType

GetType

GetType

ToString

ToString

ToString

Protected Constructors

Placeholder Constructor

  

Protected Methods

BeginWrite

  

EndWrite

  

RetrieveContent

  

SaveContent

  

Table B-10 defines all the members listed for the Placeholder class in Table B-9.

We have included a classification column in Table B-10. This is not a CMS classification. It was included to make it easier to locate the discussion about each member in Chapter 27.

Table B-10. Placeholder Member Descriptions

Placeholder

Classification

Description

Public Properties

Datasource

Read/write

Gets and sets a data source for this Placeholder, allowing it to detour where it saves and loads its data from.

Datasource. RawContent

Read/write

Gets or sets the raw data to be saved and returned.

Definition

Child object

Gets the PlaceholderDefinition that governs this Placeholder.

Name

Read-only

Gets the name of this Placeholder.

Posting

Child object

Gets the Posting to which this Placeholder belongs.

Public Methods

Equals

System

Determines whether two Object instances are equal.

GetHashCode

Read-only

Gets the hash code for the object.

GetType

Read-only

Gets the Type of the current instance.

ToString

System

Returns a String that represents the current object type.

Protected Constructors

Placeholder Constructor

Other

Creates a new instance of the Placeholder class.

Protected Methods

BeginWrite

Other

Raises the PlaceholderPropertyChanging event to prepare for updating a Placeholder property.

EndWrite

Other

Raises the PlaceholderPropertyChanged event to end the Placeholder property update process.

RetrieveContent

Other

Retrieves the raw content from the CMS Content Repository.

SaveContent

Other

Saves Placeholder content as it is ready to be stored in the CMS Content Repository.



Microsoft Content Management Server 2002. A Complete Guide
Microsoft Content Management Server 2002: A Complete Guide
ISBN: 0321194446
EAN: 2147483647
Year: 2003
Pages: 298

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net