Search Results for

    Show / Hide Table of Contents

    Class MetadataReference

    Reference to a metadata item

    Inheritance
    object
    MetadataReference
    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 MetadataReference

    Properties

    IsRestricted

    Indicates if the source of the reference is restricted because of permissions.
    If this is true and the SourceMetadataItemId property is filled, the user does not have the
    edit permission on the source metadata item. If the SourceMetadataItemId is null, the user also
    does not have the view permission on that item.

    Declaration
    [JsonProperty("isRestricted", Required = Required.Always)]
    public bool IsRestricted { get; set; }
    Property Value
    bool

    SourceDocType

    DocType of the source of the reference.

    Declaration
    [JsonProperty("sourceDocType", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
    public string SourceDocType { get; set; }
    Property Value
    string

    SourceMetadataItemId

    ID of the source of the reference.

    Declaration
    [JsonProperty("sourceMetadataItemId", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
    public string SourceMetadataItemId { get; set; }
    Property Value
    string

    TargetMetadataItemId

    Target ID of reference.

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

    Methods

    FromJson(string)

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

    Returns
    MetadataReference

    ToJson()

    Declaration
    public string ToJson()
    Returns
    string

    Back to top Generated by DocFX