Show / Hide Table of Contents

    Struct Property

    Describes a single property of a class stored in a Realm.

    Inherited Members
    ValueType.ToString()
    Namespace: Realms.Schema
    Assembly: Realm.dll
    Syntax
    public struct Property

    Properties

    | Improve this Doc View Source

    IsIndexed

    Gets or sets a value indicating whether this Property is indexed.

    Declaration
    public bool IsIndexed { get; set; }
    Property Value
    Type Description
    Boolean

    true if the property should be indexed (the matching property in the class definition is marked with IndexedAttribute); false otherwise.

    | Improve this Doc View Source

    IsPrimaryKey

    Gets or sets a value indicating whether this Property is primary key.

    Declaration
    public bool IsPrimaryKey { get; set; }
    Property Value
    Type Description
    Boolean

    true if the property is primary key (the matching property in the class definition is marked with PrimaryKeyAttribute); false otherwise.

    | Improve this Doc View Source

    LinkOriginPropertyName

    Gets or sets the name of the property that links to the model containing this LinkingObjects property.

    Declaration
    public string LinkOriginPropertyName { get; set; }
    Property Value
    Type Description
    String

    The name of the linking property.

    | Improve this Doc View Source

    Name

    Gets or sets the name of the property.

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    String

    The name of the property.

    | Improve this Doc View Source

    ObjectType

    Gets or sets the type of the object.

    Declaration
    public string ObjectType { get; set; }
    Property Value
    Type Description
    String

    The type of the object.

    | Improve this Doc View Source

    Type

    Gets or sets the type of the property.

    Declaration
    public PropertyType Type { get; set; }
    Property Value
    Type Description
    PropertyType

    The type of the property.

    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Realm
    Generated by DocFX