Class ContentTypeBase
NOTE: This is a pre-release API that is UNSTABLE and might not satisfy the compatibility requirements as denoted by its associated normal version. Constants mapped to Base
Inheritance
Implements
Namespace: EPiServer.DataAbstraction
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public sealed class ContentTypeBase : ValueType, IEquatable<ContentTypeBase>Constructors
ContentTypeBase(String)
Initializes a new instance of the ContentTypeBase structure.
Declaration
public ContentTypeBase(string value)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | value | The string value of the content type base. | 
Fields
Block
The base for Block content types.
Declaration
public static readonly ContentTypeBase BlockField Value
| Type | Description | 
|---|---|
| ContentTypeBase | 
Folder
The base for Folder content types.
Declaration
public static readonly ContentTypeBase FolderField Value
| Type | Description | 
|---|---|
| ContentTypeBase | 
Image
The base for Image content types.
Declaration
public static readonly ContentTypeBase ImageField Value
| Type | Description | 
|---|---|
| ContentTypeBase | 
Media
The base for Media content types.
Declaration
public static readonly ContentTypeBase MediaField Value
| Type | Description | 
|---|---|
| ContentTypeBase | 
Page
The base for Page content types.
Declaration
public static readonly ContentTypeBase PageField Value
| Type | Description | 
|---|---|
| ContentTypeBase | 
Undefined
Represents an undefined content type base.
Declaration
public static readonly ContentTypeBase UndefinedField Value
| Type | Description | 
|---|---|
| ContentTypeBase | 
Video
The base for Video content types.
Declaration
public static readonly ContentTypeBase VideoField Value
| Type | Description | 
|---|---|
| ContentTypeBase | 
Methods
Equals(ContentTypeBase)
Declaration
public bool Equals(ContentTypeBase other)Parameters
| Type | Name | Description | 
|---|---|---|
| ContentTypeBase | other | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
Equals(Object)
Declaration
public override bool Equals(object obj)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | obj | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
GetHashCode()
Declaration
public override int GetHashCode()Returns
| Type | Description | 
|---|---|
| System.Int32 | 
ToString()
Declaration
public override string ToString()Returns
| Type | Description | 
|---|---|
| System.String | 
Operators
Equality(ContentTypeBase, ContentTypeBase)
Determines if two ContentTypeBase values are the same.
Declaration
public static bool operator ==(ContentTypeBase left, ContentTypeBase right)Parameters
| Type | Name | Description | 
|---|---|---|
| ContentTypeBase | left | The first ContentTypeBase to compare. | 
| ContentTypeBase | right | The second ContentTypeBase to compare. | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | True if  | 
Explicit(String to ContentTypeBase)
Converts a string to a ContentTypeBase.
Declaration
public static explicit operator ContentTypeBase(string value)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | value | The string value to convert. | 
Returns
| Type | Description | 
|---|---|
| ContentTypeBase | 
Inequality(ContentTypeBase, ContentTypeBase)
Determines if two ContentTypeBase values are different.
Declaration
public static bool operator !=(ContentTypeBase left, ContentTypeBase right)Parameters
| Type | Name | Description | 
|---|---|---|
| ContentTypeBase | left | The first ContentTypeBase to compare. | 
| ContentTypeBase | right | The second ContentTypeBase to compare. | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | True if  | 
