Class Constants.System
Defines the identifiers for Umbraco system nodes.
Inheritance
Namespace: Umbraco.Cms.Core
Assembly: Umbraco.Core.dll
Syntax
public static class System
Fields
View SourceDataDirectoryName
The DataDirectory name.
Declaration
public const string DataDirectoryName = "DataDirectory"
Field Value
Type | Description |
---|---|
System.String |
DataDirectoryPlaceholder
The DataDirectory placeholder.
Declaration
public const string DataDirectoryPlaceholder = "|DataDirectory|"
Field Value
Type | Description |
---|---|
System.String |
DefaultLabelDataTypeId
Declaration
public const int DefaultLabelDataTypeId = -92
Field Value
Type | Description |
---|---|
System.Int32 |
DefaultUmbracoPath
Declaration
public const string DefaultUmbracoPath = "~/umbraco"
Field Value
Type | Description |
---|---|
System.String |
RecycleBinContent
The integer identifier for content's recycle bin.
Declaration
public const int RecycleBinContent = -20
Field Value
Type | Description |
---|---|
System.Int32 |
RecycleBinContentKey
The GUId identifier for content's recycle bin.
Declaration
public static readonly Guid RecycleBinContentKey
Field Value
Type | Description |
---|---|
Guid |
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 |
RecycleBinMediaKey
The GUID identifier for media's recycle bin.
Declaration
public static readonly Guid RecycleBinMediaKey
Field Value
Type | Description |
---|---|
Guid |
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 |
RootKey
The GUID identifier for global system root node.
Declaration
public static readonly Guid? RootKey
Field Value
Type | Description |
---|---|
System.Nullable<Guid> |
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 |
UmbracoDefaultDatabaseName
Declaration
public const string UmbracoDefaultDatabaseName = "Umbraco"
Field Value
Type | Description |
---|---|
System.String |