C# Класс Sitecore.SharedSource.Commons.Utilities.CreateItem

Operations related to creating new items and first checking to see if the item already exists
Наследование: ICreateItem
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CreateChild ( ) : ID

Creates the child.

CreateItem ( ID parentId, string cleanName, ID templateId, string dbName ) : System.Linq
CreateItem ( ID parentId, string cleanName, ID templateId, string dbName, Language language ) : System.Linq
GetChild ( ) : ID

Gets the child.

The algorithm is important for performs a) first get the parent item b) then check its children to see if the proposed item exists we don't want to look for the proposed item by path because it is slow if not found

Описание методов

CreateChild() публичный Метод

Creates the child.
public CreateChild ( ) : ID
Результат ID

CreateItem() публичный Метод

public CreateItem ( ID parentId, string cleanName, ID templateId, string dbName ) : System.Linq
parentId ID
cleanName string
templateId ID
dbName string
Результат System.Linq

CreateItem() публичный Метод

public CreateItem ( ID parentId, string cleanName, ID templateId, string dbName, Language language ) : System.Linq
parentId ID
cleanName string
templateId ID
dbName string
language Language
Результат System.Linq

GetChild() публичный Метод

Gets the child.
The algorithm is important for performs a) first get the parent item b) then check its children to see if the proposed item exists we don't want to look for the proposed item by path because it is slow if not found
public GetChild ( ) : ID
Результат ID