Search Results for

    Show / Hide Table of Contents
    View Source

    Class TagModel

    Represents a tag data transfer model for API serialization.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Models
    Assembly: Umbraco.Core.dll
    Syntax
    [DataContract(Name = "tag", Namespace = "")]
    public class TagModel

    Constructors

    View Source

    TagModel()

    Declaration
    public TagModel()

    Properties

    View Source

    Group

    Gets or sets the group that the tag belongs to.

    Declaration
    [DataMember(Name = "group")]
    public string? Group { get; set; }
    Property Value
    Type Description
    string
    View Source

    Id

    Gets or sets the unique identifier of the tag.

    Declaration
    [DataMember(Name = "id", IsRequired = true)]
    public int Id { get; set; }
    Property Value
    Type Description
    int
    View Source

    NodeCount

    Gets or sets the count of nodes that have this tag assigned.

    Declaration
    [DataMember(Name = "nodeCount")]
    public int NodeCount { get; set; }
    Property Value
    Type Description
    int
    View Source

    Text

    Gets or sets the text content of the tag.

    Declaration
    [DataMember(Name = "text", IsRequired = true)]
    public string? Text { get; set; }
    Property Value
    Type Description
    string
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX