Implements a static class for holding assorted well-known GUID values.
For a list of all members of this type, see ItemIDs Members.
System.Object
Sitecore.ItemIDs
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
An ID identifies an object within the system, but not uniquely. The underlying data of an ID is a Guid.
The class does not contain any functionality, but serves only as a placeholder for a predefined Guids.
The following example retrieves the workflow root item, under which workflows are defined.
{{{
public Item GetWorkflowByName(string name) {
Item root = Sitecore.Context.ContentDatabase.Items[ItemIDs.WorkflowRoot];
if (root != null) {
return root.Children[name];
}
return null;
}
}}}
Namespace: Sitecore
Assembly: Sitecore.Kernel (in Sitecore.Kernel.dll)
ItemIDs Members | Sitecore Namespace