Class Constants.System
Defines the Umbraco system constants.
Inheritance
Namespace: Umbraco.Cms.Core
Assembly: Umbraco.Core.dll
Syntax
public static class SystemFields
View SourceDataDirectoryName
The application domain data name for DataDirectory.
Declaration
public const string DataDirectoryName = "DataDirectory"Field Value
| Type | Description | 
|---|---|
| System.String | 
DataDirectoryPlaceholder
The DataDirectory placeholder used to resolve paths in connection strings.
Declaration
public const string DataDirectoryPlaceholder = "|DataDirectory|"Field Value
| Type | Description | 
|---|---|
| System.String | 
DefaultLabelDataTypeId
The default label data type identifier.
Declaration
public const int DefaultLabelDataTypeId = -92Field Value
| Type | Description | 
|---|---|
| System.Int32 | 
DefaultUmbracoPath
The default Umbraco virtual path.
Declaration
public const string DefaultUmbracoPath = "~/umbraco"Field Value
| Type | Description | 
|---|---|
| System.String | 
InvariantCulture
Declaration
public const string InvariantCulture = "*"Field Value
| Type | Description | 
|---|---|
| System.String | 
RecycleBinContent
The integer identifier for content's recycle bin.
Declaration
public const int RecycleBinContent = -20Field Value
| Type | Description | 
|---|---|
| System.Int32 | 
RecycleBinContentKey
The GUID identifier for content's recycle bin.
Declaration
public static readonly Guid RecycleBinContentKeyField 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 = -21Field Value
| Type | Description | 
|---|---|
| System.Int32 | 
RecycleBinMediaKey
The GUID identifier for media's recycle bin.
Declaration
public static readonly Guid RecycleBinMediaKeyField 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 = -1Field Value
| Type | Description | 
|---|---|
| System.Int32 | 
RootKey
The GUID identifier for global system root node.
Declaration
public static readonly Guid? RootKeyField 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
The Umbraco connection name.
Declaration
public const string UmbracoConnectionName = "umbracoDbDSN"Field Value
| Type | Description | 
|---|---|
| System.String | 
UmbracoDefaultDatabaseName
The default Umbraco database name.
Declaration
public const string UmbracoDefaultDatabaseName = "Umbraco"Field Value
| Type | Description | 
|---|---|
| System.String | 
UmbracoPathSegment
The Umbraco path segment.
Declaration
public const string UmbracoPathSegment = "umbraco"Field Value
| Type | Description | 
|---|---|
| System.String |