Click or drag to resize

IContentItemVersionElement Method


Retrieves an Element by its name.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
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