Class TaggedProperty
Represents a tagged property on an entity.
Inheritance
object
Namespace: Umbraco.Cms.Core.Models
Assembly: Umbraco.Core.dll
Syntax
public class TaggedProperty
Constructors
View SourceTaggedProperty(int, string?, IEnumerable<ITag>)
Initializes a new instance of the TaggedProperty class.
Declaration
public TaggedProperty(int propertyTypeId, string? propertyTypeAlias, IEnumerable<ITag> tags)
Parameters
| Type | Name | Description |
|---|---|---|
| int | propertyTypeId | |
| string | propertyTypeAlias | |
| IEnumerable<ITag> | tags |
Properties
View SourcePropertyTypeAlias
Gets the alias of the property type.
Declaration
public string? PropertyTypeAlias { get; }
Property Value
| Type | Description |
|---|---|
| string |
PropertyTypeId
Gets the identifier of the property type.
Declaration
public int PropertyTypeId { get; }
Property Value
| Type | Description |
|---|---|
| int |
Tags
Gets the tags.
Declaration
public IEnumerable<ITag> Tags { get; }
Property Value
| Type | Description |
|---|---|
| IEnumerable<ITag> |