Show / Hide Table of Contents

Class Reference

Represents a reference link returned from the Contentful API. Allows you to easily model reference fields when creating new entries.

Inheritance
System.Object
Reference
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace:Contentful.Core.Models.Management
Assembly:cs.temp.dll.dll
Syntax
public class Reference

Constructors

Reference()

Initializes a new Reference.

Declaration
public Reference()

Reference(String, String)

Initializes a new Reference.

Declaration
public Reference(string linkType, string id)
Parameters
Type Name Description
System.String linkType

The linktype of the reference. Normally one of SystemLinkTypes.

System.String id

The id of the item which is being referenced.

Properties

Sys

The properties for this reference.

Declaration
public ReferenceProperties Sys { get; set; }
Property Value
Type Description
ReferenceProperties
Back to top Copyright © 2015-2016 Contentful
Generated by DocFX