Class ContentID
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. ContentID class implements IContent except IContentData parts.
Inheritance
Inherited Members
Namespace: EPiServer.Core.Internal
Assembly: EPiServer.dll
Version: 10.10.4Syntax
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. |
ContentLink
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 |
|
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 |
|
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 |
|
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. |
ParentLink
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 |