PropertyInfo

Overview

RTTI for properties.

Location

 

constructor    (declared in Object)

 

constructor

 

PropertyInfo()

 

init()

 

PropertyInfo()

 

Sub New()

Access    (declared in MemberInfo)

Access of this member.

 

property Access: MemberAccess read;

 

MemberAccess Access { get; }

 

var Access: MemberAccess { get{} }

 

MemberAccess Access { __get; }

 

ReadOnly Property Access() As MemberAccess

Arguments

Contains the arguments.

 

property Arguments: IEnumerable<ArgumentInfo> read;

 

IEnumerable<ArgumentInfo> Arguments { get; }

 

var Arguments: IEnumerable<ArgumentInfo> { get{} }

 

IEnumerable<ArgumentInfo> Arguments { __get; }

 

ReadOnly Property Arguments() As IEnumerable<ArgumentInfo>

Attributes    (declared in MemberInfo)

Sequence of custom attributes attached to this member.

 

property Attributes: IEnumerable<CustomAttribute> read;

 

IEnumerable<CustomAttribute> Attributes { get; }

 

var Attributes: IEnumerable<CustomAttribute> { get{} }

 

IEnumerable<CustomAttribute> Attributes { __get; }

 

ReadOnly Property Attributes() As IEnumerable<CustomAttribute>

DeclaringType    (declared in MemberInfo)

Returns the declaring type.

 

property DeclaringType: Type read;

 

Type DeclaringType { get; }

 

var DeclaringType: Type { get{} }

 

Type DeclaringType { __get; }

 

ReadOnly Property DeclaringType() As Type

Equals  virtual    (declared in Object)

 

method Equals(aOther: Object): Boolean

 

Boolean Equals(Object aOther)

 

func Equals(_ aOther: Object) -> Boolean

 

Boolean Equals(Object aOther)

 

Function Equals(aOther As Object) As Boolean

Parameters:

  • aOther:

Finalize  protected virtual    (declared in Object)

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

 

Sub Finalize()

Flags

Property flags.

 

property Flags: PropertyFlags read;

 

PropertyFlags Flags { get; }

 

var Flags: PropertyFlags { get{} }

 

PropertyFlags Flags { __get; }

 

ReadOnly Property Flags() As PropertyFlags

GetHashCode  virtual    (declared in Object)

Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

Int32 GetHashCode()

 

Function GetHashCode() As Int32

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

 

Function GetType() As Type

GetValue

Gets the value given an instance. aInst should be nil for static members.

 

method GetValue(aInst: Object; aArgs: array of Object): Object

 

Object GetValue(Object aInst, Object[] aArgs)

 

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

 

Object GetValue(Object aInst, Object[] aArgs)

 

Function GetValue(aInst As Object, aArgs As Object()) As Object

Parameters:

  • aInst:
  • aArgs:

IsStatic  override virtual

Returns true if this property is static.

 

property IsStatic: Boolean read;

 

Boolean IsStatic { get; }

 

var IsStatic: Boolean { get{} }

 

Boolean IsStatic { __get; }

 

ReadOnly Property IsStatic() As Boolean

Name    (declared in MemberInfo)

Name of this member.

 

property Name: String read;

 

String Name { get; }

 

var Name: String { get{} }

 

String Name { __get; }

 

ReadOnly Property Name() As String

Read

Returns the rtti for the read accessor of this property.

 

property Read: MethodInfo read;

 

MethodInfo Read { get; }

 

var Read: MethodInfo { get{} }

 

MethodInfo Read { __get; }

 

ReadOnly Property Read() As MethodInfo

ReadMethod

Returns a pointer to the read method of this property.

 

property ReadMethod: ^void read;

 

void* ReadMethod { get; }

 

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

 

void* ReadMethod { __get; }

 

ReadOnly Property ReadMethod() As Ptr(Of Void)

ReferenceEquals    (declared in Object)

Compares two references for equivalence (even if they have an equals operator)

 

class method ReferenceEquals(a: Object; b: Object): Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

Shared Function ReferenceEquals(a As Object, b As Object) As Boolean

Parameters:

  • a: left value
  • b: right value

SetValue

 

method SetValue(aInst: Object; aArgs: array of Object; aValue: Object)

 

void SetValue(Object aInst, Object[] aArgs, Object aValue)

 

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

 

void SetValue(Object aInst, Object[] aArgs, Object aValue)

 

Sub SetValue(aInst As Object, aArgs As Object(), aValue As Object)

Parameters:

  • aInst:
  • aArgs:
  • aValue:

ToString  virtual    (declared in Object)

Gets the string representation of this method.

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

 

Function ToString() As String

Type    (declared in MemberInfo)

Type of this member. Could be nil if the type is never used.

 

property Type: Type read;

 

Type Type { get; }

 

var Type: Type { get{} }

 

Type Type { __get; }

 

ReadOnly Property Type() As Type

Write

Returns the rtti for the write accessor of this property.

 

property Write: MethodInfo read;

 

MethodInfo Write { get; }

 

var Write: MethodInfo { get{} }

 

MethodInfo Write { __get; }

 

ReadOnly Property Write() As MethodInfo

WriteMethod

Returns a pointer to the write method of this property.

 

property WriteMethod: ^void read;

 

void* WriteMethod { get; }

 

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

 

void* WriteMethod { __get; }

 

ReadOnly Property WriteMethod() As Ptr(Of Void)

 

Access    (declared in MemberInfo)

Access of this member.

 

property Access: MemberAccess read;

 

MemberAccess Access { get; }

 

var Access: MemberAccess { get{} }

 

MemberAccess Access { __get; }

 

ReadOnly Property Access() As MemberAccess

Arguments

Contains the arguments.

 

property Arguments: IEnumerable<ArgumentInfo> read;

 

IEnumerable<ArgumentInfo> Arguments { get; }

 

var Arguments: IEnumerable<ArgumentInfo> { get{} }

 

IEnumerable<ArgumentInfo> Arguments { __get; }

 

ReadOnly Property Arguments() As IEnumerable<ArgumentInfo>

Attributes    (declared in MemberInfo)

Sequence of custom attributes attached to this member.

 

property Attributes: IEnumerable<CustomAttribute> read;

 

IEnumerable<CustomAttribute> Attributes { get; }

 

var Attributes: IEnumerable<CustomAttribute> { get{} }

 

IEnumerable<CustomAttribute> Attributes { __get; }

 

ReadOnly Property Attributes() As IEnumerable<CustomAttribute>

DeclaringType    (declared in MemberInfo)

Returns the declaring type.

 

property DeclaringType: Type read;

 

Type DeclaringType { get; }

 

var DeclaringType: Type { get{} }

 

Type DeclaringType { __get; }

 

ReadOnly Property DeclaringType() As Type

Flags

Property flags.

 

property Flags: PropertyFlags read;

 

PropertyFlags Flags { get; }

 

var Flags: PropertyFlags { get{} }

 

PropertyFlags Flags { __get; }

 

ReadOnly Property Flags() As PropertyFlags

IsStatic  override virtual

Returns true if this property is static.

 

property IsStatic: Boolean read;

 

Boolean IsStatic { get; }

 

var IsStatic: Boolean { get{} }

 

Boolean IsStatic { __get; }

 

ReadOnly Property IsStatic() As Boolean

Name    (declared in MemberInfo)

Name of this member.

 

property Name: String read;

 

String Name { get; }

 

var Name: String { get{} }

 

String Name { __get; }

 

ReadOnly Property Name() As String

Read

Returns the rtti for the read accessor of this property.

 

property Read: MethodInfo read;

 

MethodInfo Read { get; }

 

var Read: MethodInfo { get{} }

 

MethodInfo Read { __get; }

 

ReadOnly Property Read() As MethodInfo

ReadMethod

Returns a pointer to the read method of this property.

 

property ReadMethod: ^void read;

 

void* ReadMethod { get; }

 

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

 

void* ReadMethod { __get; }

 

ReadOnly Property ReadMethod() As Ptr(Of Void)

Type    (declared in MemberInfo)

Type of this member. Could be nil if the type is never used.

 

property Type: Type read;

 

Type Type { get; }

 

var Type: Type { get{} }

 

Type Type { __get; }

 

ReadOnly Property Type() As Type

Write

Returns the rtti for the write accessor of this property.

 

property Write: MethodInfo read;

 

MethodInfo Write { get; }

 

var Write: MethodInfo { get{} }

 

MethodInfo Write { __get; }

 

ReadOnly Property Write() As MethodInfo

WriteMethod

Returns a pointer to the write method of this property.

 

property WriteMethod: ^void read;

 

void* WriteMethod { get; }

 

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

 

void* WriteMethod { __get; }

 

ReadOnly Property WriteMethod() As Ptr(Of Void)

 

ReferenceEquals    (declared in Object)

Compares two references for equivalence (even if they have an equals operator)

 

class method ReferenceEquals(a: Object; b: Object): Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

Shared Function ReferenceEquals(a As Object, b As Object) As Boolean

Parameters:

  • a: left value
  • b: right value

 

constructor    (declared in Object)

 

constructor

 

PropertyInfo()

 

init()

 

PropertyInfo()

 

Sub New()

Equals  virtual    (declared in Object)

 

method Equals(aOther: Object): Boolean

 

Boolean Equals(Object aOther)

 

func Equals(_ aOther: Object) -> Boolean

 

Boolean Equals(Object aOther)

 

Function Equals(aOther As Object) As Boolean

Parameters:

  • aOther:

Finalize  protected virtual    (declared in Object)

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

 

Sub Finalize()

GetHashCode  virtual    (declared in Object)

Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

Int32 GetHashCode()

 

Function GetHashCode() As Int32

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

 

Function GetType() As Type

GetValue

Gets the value given an instance. aInst should be nil for static members.

 

method GetValue(aInst: Object; aArgs: array of Object): Object

 

Object GetValue(Object aInst, Object[] aArgs)

 

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

 

Object GetValue(Object aInst, Object[] aArgs)

 

Function GetValue(aInst As Object, aArgs As Object()) As Object

Parameters:

  • aInst:
  • aArgs:

SetValue

 

method SetValue(aInst: Object; aArgs: array of Object; aValue: Object)

 

void SetValue(Object aInst, Object[] aArgs, Object aValue)

 

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

 

void SetValue(Object aInst, Object[] aArgs, Object aValue)

 

Sub SetValue(aInst As Object, aArgs As Object(), aValue As Object)

Parameters:

  • aInst:
  • aArgs:
  • aValue:

ToString  virtual    (declared in Object)

Gets the string representation of this method.

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

 

Function ToString() As String