November Happy Hour will be moved to Thursday December 5th.

Class ContentID

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. ContentID class implements IContent except IContentData parts.

Inheritance
System.Object
ContentID
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Core.Internal
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public class ContentID : IReadOnly<ContentID>, IReadOnly, IModifiedTrackable

Constructors

ContentID()

Declaration
public ContentID()

Properties

ContentGuid

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets or sets the content GUID.

Declaration
public Guid ContentGuid { get; set; }
Property Value
Type Description
System.Guid

The content GUID.

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets or sets the content link. It used to hold references to content in the EPiServer system.

Declaration
public ContentReference ContentLink { get; set; }
Property Value
Type Description
ContentReference

The content link.

ContentTypeID

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets or sets the content type ID that this ContentData is an instance of.

Declaration
public int ContentTypeID { get; set; }
Property Value
Type Description
System.Int32

The content type ID.

IsDeleted

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets a value indicating whether this instance is deleted.

Declaration
public bool IsDeleted { get; set; }
Property Value
Type Description
System.Boolean

true if this instance is deleted; otherwise, false.

IsModified

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets a value indicating whether this instance has been modified after loading.

Declaration
public bool IsModified { get; }
Property Value
Type Description
System.Boolean

true if this instance has been modified; otherwise, false.

IsReadOnly

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets a value indicating whether this instance is read only.

Declaration
public bool IsReadOnly { get; }
Property Value
Type Description
System.Boolean

true if this instance is read only; otherwise, false.

Name

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets or sets the name.

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String

The name.

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets or sets the parent link. It used to hold references to the parent content in the EPiServer system.

Declaration
public ContentReference ParentLink { get; set; }
Property Value
Type Description
ContentReference

The parent link.

Methods

CreateWritableClone()

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Creates the writable clone.

Declaration
public ContentID CreateWritableClone()
Returns
Type Description
ContentID

MakeReadOnly()

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Makes the read only.

Declaration
public void MakeReadOnly()

ResetModified()

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Resets the modified flag on all the data contained on the instance.

Declaration
public void ResetModified()

ThrowIfReadOnly()

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Utility method that, when called, throws a System.NotSupportedException indicating that the ContentID has been set as read-only.

Declaration
protected void ThrowIfReadOnly()
Remarks

This method is used internally by other ContentID methods to standardize the exception thrown when trying to modify a ContentID set as read-only.

Explicit Interface Implementations

IReadOnly.CreateWritableClone()

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Creates the writable clone.

Declaration
object IReadOnly.CreateWritableClone()
Returns
Type Description
System.Object

Implements

Extension Methods