Search Results for

    Show / Hide Table of Contents

    Class RelationType

    Defines a relation

    Inheritance
    object
    RelationType
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: System.Dynamic.ExpandoObject
    Syntax
    [GeneratedCode("NJsonSchema", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.0.0))")]
    public class RelationType

    Properties

    Filter

    An optional filter to limit the documents of type TargetDocType.

    Declaration
    [JsonProperty("filter", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
    public FilterBase Filter { get; set; }
    Property Value
    FilterBase

    Id

    The ID of the relation type.

    Declaration
    [JsonProperty("id", Required = Required.Always)]
    [Required]
    public string Id { get; set; }
    Property Value
    string

    Names

    Language specific relation names.

    Declaration
    [JsonProperty("names", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
    public TranslatedStringDictionary Names { get; set; }
    Property Value
    TranslatedStringDictionary

    TargetDocType

    Defines the type of the document target of the relation. Currently supported: Content, ListItem.

    Declaration
    [JsonProperty("targetDocType", Required = Required.Always)]
    [Required]
    public string TargetDocType { get; set; }
    Property Value
    string

    Methods

    FromJson(string)

    Declaration
    public static RelationType FromJson(string data)
    Parameters
    string data

    Returns
    RelationType

    ToJson()

    Declaration
    public string ToJson()
    Returns
    string

    Back to top Generated by DocFX