Search Results for

    Show / Hide Table of Contents

    Class TermSet

    Inheritance
    System.Object
    BaseModel
    TermSet
    Inherited Members
    BaseModel.ParentTemplate
    Namespace: PnP.Framework.Provisioning.Model
    Assembly: PnP.Framework.dll
    Syntax
    public class TermSet : BaseModel, IProvisioningTemplateDescendant

    Constructors

    TermSet()

    Constructor for TermSet class

    Declaration
    public TermSet()

    TermSet(Guid, String, Nullable<Int32>, Boolean, Boolean, List<Term>, Dictionary<String, String>)

    Constructor for Termset class

    Declaration
    public TermSet(Guid id, string name, int? language, bool isAvailableForTagging, bool isOpenForTermCreation, List<Term> terms, Dictionary<string, string> properties)
    Parameters
    Guid id

    Id of the termset

    System.String name

    Name of the termset

    System.Nullable<System.Int32> language

    Language of the termset

    System.Boolean isAvailableForTagging

    IsAvailableForTagging flag for termset

    System.Boolean isOpenForTermCreation

    IsOpenForTermCreation flag for termset

    List<Term> terms

    Temset terms

    Dictionary<System.String, System.String> properties

    Termset properties

    Properties

    Description

    Gets or sets the termset description

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

    Id

    Gets or sets the termset id

    Declaration
    public Guid Id { get; set; }
    Property Value
    Guid

    IsAvailableForTagging

    Gets or sets the IsAvailableForTagging flag for the termset

    Declaration
    public bool IsAvailableForTagging { get; set; }
    Property Value
    System.Boolean

    IsOpenForTermCreation

    Gets or sets the IsOpenForTermCreation flag for the termset

    Declaration
    public bool IsOpenForTermCreation { get; set; }
    Property Value
    System.Boolean

    Language

    Gets or sets the termset language

    Declaration
    public int? Language { get; set; }
    Property Value
    System.Nullable<System.Int32>

    Name

    Gets or sets the termset name

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

    Owner

    Gets or sets the termset owner

    Declaration
    public string Owner { get; set; }
    Property Value
    System.String

    Properties

    Gets or sets the termset properties

    Declaration
    public Dictionary<string, string> Properties { get; }
    Property Value
    Dictionary<System.String, System.String>

    Terms

    Gets or sets the terms

    Declaration
    public TermCollection Terms { get; }
    Property Value
    TermCollection

    Methods

    Equals(TermSet)

    Compares TermSet object based on Id, Name, Description, Language, IsOpenForTermCreation, IsAvailableForTagging, Owner, Terms and Properties.

    Declaration
    public bool Equals(TermSet other)
    Parameters
    TermSet other

    TermSet object

    Returns
    System.Boolean

    true if the TermSet object is equal to the current object; otherwise, false.

    Equals(Object)

    Compares object with TermSet

    Declaration
    public override bool Equals(object obj)
    Parameters
    System.Object obj

    Object that represents TermSet

    Returns
    System.Boolean

    true if the current object is equal to the TermSet

    GetHashCode()

    Gets the hash code

    Declaration
    public override int GetHashCode()
    Returns
    System.Int32

    Returns HashCode

    Extension Methods

    ValidationExtensions.ValidateNotNullOrEmpty<T>(T, String)
    ObjectExtensions.Set<TObject, T>(TObject, Expression<Func<TObject, T>>, T, Boolean, Boolean)
    ObjectExtensions.GetPublicInstancePropertyValue(Object, String)
    ObjectExtensions.GetPublicInstanceProperty(Object, String)
    ObjectExtensions.SetPublicInstancePropertyValue(Object, String, Object)
    Extensions.ToByteArray(Object)
    Back to top PnP Framework
    Generated by DocFX with Material UI
    spacer