Class Constants.System
Defines the identifiers for Umbraco system nodes.
Inheritance
Namespace: Umbraco.Core
Assembly: Umbraco.Core.dll
Syntax
public static class System
Fields
View SourceDefaultLabelDataTypeId
Declaration
public const int DefaultLabelDataTypeId = -92
Field Value
Type | Description |
---|---|
System.Int32 |
RecycleBinContent
The integer identifier for content's recycle bin.
Declaration
public const int RecycleBinContent = -20
Field Value
Type | Description |
---|---|
System.Int32 |
RecycleBinContentPathPrefix
The string path prefix of the content's recycle bin.
Declaration
public const string RecycleBinContentPathPrefix = "-1,-20,"
Field Value
Type | Description |
---|---|
System.String |
Remarks
Everything that is in the content recycle bin, has a path that starts with the prefix.
Use this instead of re-creating the string everywhere.
RecycleBinContentString
The string identifier for content's recycle bin.
Declaration
public const string RecycleBinContentString = "-20"
Field Value
Type | Description |
---|---|
System.String |
Remarks
Use this instead of re-creating the string everywhere.
RecycleBinMedia
The integer identifier for media's recycle bin.
Declaration
public const int RecycleBinMedia = -21
Field Value
Type | Description |
---|---|
System.Int32 |
RecycleBinMediaPathPrefix
The string path prefix of the media's recycle bin.
Declaration
public const string RecycleBinMediaPathPrefix = "-1,-21,"
Field Value
Type | Description |
---|---|
System.String |
Remarks
Everything that is in the media recycle bin, has a path that starts with the prefix.
Use this instead of re-creating the string everywhere.
RecycleBinMediaString
The string identifier for media's recycle bin.
Declaration
public const string RecycleBinMediaString = "-21"
Field Value
Type | Description |
---|---|
System.String |
Remarks
Use this instead of re-creating the string everywhere.
Root
The integer identifier for global system root node.
Declaration
public const int Root = -1
Field Value
Type | Description |
---|---|
System.Int32 |
RootString
The string identifier for global system root node.
Declaration
public const string RootString = "-1"
Field Value
Type | Description |
---|---|
System.String |
Remarks
Use this instead of re-creating the string everywhere.
UmbracoConnectionName
Declaration
public const string UmbracoConnectionName = "umbracoDbDSN"
Field Value
Type | Description |
---|---|
System.String |
UmbracoUpgradePlanName
Declaration
public const string UmbracoUpgradePlanName = "Umbraco.Core"
Field Value
Type | Description |
---|---|
System.String |