Try our conversational search powered by Generative AI!

Interface IContent

Interface that must be implemented by a component that is to be stored in the content repository.

Inherited Members
Namespace: EPiServer.Core
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
public interface IContent : IContentData

Properties

ContentGuid

Gets or sets the unique identifier of this IContentData instance. It is used as identifier of this item when it is transferred outside of the current system.

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

Gets or sets a reference to this IContentData instance. It is used as a identifier for this item within the EPiServer system.

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

ContentTypeID

Gets or sets the ID of the content type that describes this IContentData instance.

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

IsDeleted

Gets or sets a value indicating whether this instance is deleted.

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

Name

Gets or sets the name of this IContentData instance.

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

Gets or sets a link to the parent content item in the EPiServer system.

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

Extension Methods