IPageVersionElement Method Ingeniux CMS Content Store API

Retrieves an Element by its name.

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax

IElement Element(
	string name
)

Parameters

name
Type: SystemString
Name of the elements to retrieve. Case-sensitive.

Return Value

Type: IElement
Element with matching name. Returns null if no element matches the name.
Remarks

A good Schema makes sure that no two elements, except the elements in a List element, have the same name.

If there happens be multiple elements with the same name, this method returns the first element from the top.

This method doesn't have child elements of List, Group, or Embedded Component.

See Also

Reference