Property

Overview

RTTI class for properties

Location

  • Reference:
    • Elements.dll  .NET, .NET Standard 2.0
    • elements.jar  Cooper
    • Elements.fx  Island, ToffeeV2
    • libElements.fx  Toffee
  • Namespace: RemObjects.Elements.RTL.Reflection
  • Mapped to:
    • System.Reflection.PropertyInfo  .NET, .NET Standard 2.0
    • RemObjects.Elements.System.PropertyInfo  Island

Properties


Name  virtual Toffee

Returns the name of this property.

 

var Name: String { get{} }

PropertyClass  virtual Toffee

Returns the Cocoa specific type info for this property

 

var PropertyClass: UnsafeMutablePointer<void> { get{} }

Type  virtual Toffee

Returns the type of this property.

 

var Type: Type { get{} }

Instance Methods


GetValue  virtual Toffee

Gets the value of this property. aInst should be null for static properties, args should only be set for indexers.

 

func GetValue(_ aInst: Object, _ aArgs: Object...) -> Object

Parameters:

  • aInst:
  • aArgs:

SetValue  virtual Toffee

Sets the value of this property. aInst should be null for static properties, args should only be set for indexers.

 

func SetValue(_ aInst: Object, _ aArgs: Object..., _ aValue: Object)

Parameters:

  • aInst:
  • aArgs:
  • aValue: