Class TrackContentItemReferenceAttribute
- Namespace
 - Kentico.PageBuilder.Web.Mvc
 
- Assembly
 - Kentico.Content.Web.Mvc.dll
 
Attribute used to specify a type that extracts references from a page builder component property value.
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
public sealed class TrackContentItemReferenceAttribute : Attribute
  - Inheritance
 - 
      objectAttributeTrackContentItemReferenceAttribute
 
- Extension Methods
 
Constructors
TrackContentItemReferenceAttribute(Type)
Initializes a new instance of the TrackContentItemReferenceAttribute class.
public TrackContentItemReferenceAttribute(Type referenceExtractorType)
  Parameters
referenceExtractorTypeTypeType of the references extractor.
Exceptions
- ArgumentNullException
 Thrown when
referenceExtractorTypeis null.- ArgumentException
 Thrown when
referenceExtractorTypeis not type of IContentItemReferenceExtractor or IAsyncContentItemReferenceExtractor.
Properties
ReferenceExtractorType
Gets the type of the references extractor.
public Type ReferenceExtractorType { get; }
  Property Value
- Type