Search Results for

    Show / Hide Table of Contents

    Interface ITermRelation

    Represents the relationship between terms in a term store.Currently two types of relationships are supported: pin and reuse.

    In a pin relationship, a term can be pinned under a different term in a different term set.In a pinned relationship, new children to the term can only be added in the term set in which the term was created.Any change in the hierarchy under the term is reflected across the sets in which the term was pinned.

    The reuse relationship is similar to the pinned relationship except that changes to the reused term can be made from any hierarchy in which the term is reused.Also, a change in hierarchy made to the reused term does not get reflected in the other term sets in which the term is reused.

    Inherited Members
    IDataModel<ITermRelation>.Requested
    IDataModel<ITermRelation>.HasValue(String)
    IDataModel<ITermRelation>.HasChanged(String)
    IDataModel<ITermRelation>.IsPropertyAvailable(Expression<Func<ITermRelation, Object>>)
    IDataModel<ITermRelation>.ArePropertiesAvailable(Expression<Func<ITermRelation, Object>>[])
    IDataModel<ITermRelation>.EnsureProperties(Expression<Func<ITermRelation, Object>>[])
    IDataModel<ITermRelation>.EnsurePropertiesAsync(Expression<Func<ITermRelation, Object>>[])
    IDataModel<ITermRelation>.ExecuteRequestAsync(ApiRequest)
    IDataModel<ITermRelation>.ExecuteRequest(ApiRequest)
    IDataModel<ITermRelation>.ExecuteRequestBatchAsync(ApiRequest)
    IDataModel<ITermRelation>.ExecuteRequestBatch(ApiRequest)
    IDataModel<ITermRelation>.ExecuteRequestBatchAsync(Batch, ApiRequest)
    IDataModel<ITermRelation>.ExecuteRequestBatch(Batch, ApiRequest)
    IDataModelParent.Parent
    IDataModelWithContext.PnPContext
    IDataModelGet<ITermRelation>.GetBatchAsync(Batch, Expression<Func<ITermRelation, Object>>[])
    IDataModelGet<ITermRelation>.GetAsync(Expression<Func<ITermRelation, Object>>[])
    IDataModelLoad<ITermRelation>.LoadBatchAsync(Batch, Expression<Func<ITermRelation, Object>>[])
    IDataModelLoad<ITermRelation>.LoadAsync(Expression<Func<ITermRelation, Object>>[])
    Namespace: PnP.Core.Model.SharePoint
    Assembly: PnP.Core.dll
    Syntax
    public interface ITermRelation : IDataModel<ITermRelation>, IDataModelParent, IDataModelWithContext, ISupportModules<ITermRelation>, IDataModelGet<ITermRelation>, IDataModelLoad<ITermRelation>, IQueryableDataModel

    Properties

    FromTerm

    The from term of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the set.

    Declaration
    ITerm FromTerm { get; }
    Property Value
    ITerm

    Id

    The Unique ID of the term relation.

    Declaration
    string Id { get; }
    Property Value
    System.String

    Relationship

    The type of relation. Possible values are: pin, reuse.

    Declaration
    TermRelationType Relationship { get; set; }
    Property Value
    TermRelationType

    Set

    The set in which the relation is relevant.

    Declaration
    ITermSet Set { get; }
    Property Value
    ITermSet

    ToTerm

    The to term of the relation. The term to which the realtionship is defined.

    Declaration
    ITerm ToTerm { get; }
    Property Value
    ITerm

    Extension Methods

    DataModelGetExtensions.GetBatchAsync<TModel>(IDataModelGet<TModel>, Expression<Func<TModel, Object>>[])
    DataModelGetExtensions.GetBatchAsync<TModel>(IDataModelGet<TModel>, Batch, Expression<Func<TModel, Object>>[])
    DataModelGetExtensions.GetBatch<TModel>(IDataModelGet<TModel>, Batch, Expression<Func<TModel, Object>>[])
    DataModelGetExtensions.GetBatch<TModel>(IDataModelGet<TModel>, Expression<Func<TModel, Object>>[])
    DataModelGetExtensions.Get<TModel>(IDataModelGet<TModel>, Expression<Func<TModel, Object>>[])
    DataModelLoadExtensions.LoadBatchAsync<TModel>(IDataModelLoad<TModel>, Expression<Func<TModel, Object>>[])
    DataModelLoadExtensions.LoadBatchAsync<TModel>(IDataModelLoad<TModel>, Batch, Expression<Func<TModel, Object>>[])
    DataModelLoadExtensions.LoadBatch<TModel>(IDataModelLoad<TModel>, Batch, Expression<Func<TModel, Object>>[])
    DataModelLoadExtensions.LoadBatch<TModel>(IDataModelLoad<TModel>, Expression<Func<TModel, Object>>[])
    DataModelLoadExtensions.Load<TModel>(IDataModelLoad<TModel>, Expression<Func<TModel, Object>>[])
    DataModelLoadExtensions.QueryProperties<TModel>(IDataModelLoad<TModel>, Expression<Func<TModel, Object>>[])
    RequestModuleExtensions.WithHeaders<TModel>(ISupportModules<TModel>, Dictionary<String, String>, Action<Dictionary<String, String>>)
    RequestModuleExtensions.WithResponseHeaders<TModel>(ISupportModules<TModel>, Action<Dictionary<String, String>>)
    Back to top PnP Core SDK
    Generated by DocFX with Material UI
    spacer