System.Object Extension

Location

 

AfterConstruction

 

method AfterConstruction

 

void AfterConstruction()

 

func AfterConstruction()

 

void AfterConstruction()

 

Sub AfterConstruction()

BeforeDestruction

 

method BeforeDestruction

 

void BeforeDestruction()

 

func BeforeDestruction()

 

void BeforeDestruction()

 

Sub BeforeDestruction()

ClassInfo

 

class method ClassInfo: Pointer

 

static Pointer ClassInfo()

 

static func ClassInfo() -> Pointer

 

static Pointer ClassInfo()

 

Shared Function ClassInfo() As Pointer

ClassName

 

class method ClassName: ShortString

 

static ShortString ClassName()

 

static func ClassName() -> ShortString

 

static ShortString ClassName()

 

Shared Function ClassName() As ShortString

ClassNameIs

 

class method ClassNameIs(Name: String): Boolean

 

static Boolean ClassNameIs(String Name)

 

static func ClassNameIs(_ Name: String) -> Boolean

 

static Boolean ClassNameIs(String Name)

 

Shared Function ClassNameIs(Name As String) As Boolean

Parameters:

  • Name:

ClassParent

 

class method ClassParent: TClass

 

static TClass ClassParent()

 

static func ClassParent() -> TClass

 

static TClass ClassParent()

 

Shared Function ClassParent() As TClass

ClassType

 

method ClassType: TClass

 

TClass ClassType()

 

func ClassType() -> TClass

 

TClass ClassType()

 

Function ClassType() As TClass

CleanupInstance

 

method CleanupInstance

 

void CleanupInstance()

 

func CleanupInstance()

 

void CleanupInstance()

 

Sub CleanupInstance()

DefaultHandler

 

method DefaultHandler(var Message: Object)

 

void DefaultHandler(ref Object Message)

 

func DefaultHandler(_ Message: Object)

 

void DefaultHandler(__ref Object Message)

 

Sub DefaultHandler(ByRef Message As Object)

Parameters:

  • Message:

Destroy

 

method Destroy

 

void Destroy()

 

func Destroy()

 

void Destroy()

 

Sub Destroy()

Dispatch

 

method Dispatch(var Message: Object)

 

void Dispatch(ref Object Message)

 

func Dispatch(_ Message: Object)

 

void Dispatch(__ref Object Message)

 

Sub Dispatch(ByRef Message As Object)

Parameters:

  • Message:

Free

 

method Free

 

void Free()

 

func Free()

 

void Free()

 

Sub Free()

FreeInstance

 

method FreeInstance

 

void FreeInstance()

 

func FreeInstance()

 

void FreeInstance()

 

Sub FreeInstance()

GetInterfaceEntry

 

class method GetInterfaceEntry(IID: TGUID): PInterfaceEntry

 

static PInterfaceEntry GetInterfaceEntry(TGUID IID)

 

static func GetInterfaceEntry(_ IID: TGUID) -> PInterfaceEntry

 

static PInterfaceEntry GetInterfaceEntry(TGUID IID)

 

Shared Function GetInterfaceEntry(IID As TGUID) As PInterfaceEntry

Parameters:

  • IID:

GetInterfaceTable

 

class method GetInterfaceTable: PInterfaceTable

 

static PInterfaceTable GetInterfaceTable()

 

static func GetInterfaceTable() -> PInterfaceTable

 

static PInterfaceTable GetInterfaceTable()

 

Shared Function GetInterfaceTable() As PInterfaceTable

InheritsFrom

 

class method InheritsFrom(AClass: TClass): Boolean

 

static Boolean InheritsFrom(TClass AClass)

 

static func InheritsFrom(_ AClass: TClass) -> Boolean

 

static Boolean InheritsFrom(TClass AClass)

 

Shared Function InheritsFrom(AClass As TClass) As Boolean

Parameters:

  • AClass:

InitInstance

 

class method InitInstance(Instance: ^void): Object

 

static Object InitInstance(void* Instance)

 

static func InitInstance(_ Instance: UnsafeMutablePointer<void>) -> Object

 

static Object InitInstance(void* Instance)

 

Shared Function InitInstance(Instance As Ptr(Of Void)) As Object

Parameters:

  • Instance:

InstanceClassName

 

method InstanceClassName: String

 

String InstanceClassName()

 

func InstanceClassName() -> String

 

String InstanceClassName()

 

Function InstanceClassName() As String

InstanceSize

 

class method InstanceSize: Int32

 

static Int32 InstanceSize()

 

static func InstanceSize() -> Int32

 

static Int32 InstanceSize()

 

Shared Function InstanceSize() As Int32

MethodAddress

 

class method MethodAddress(Name: ShortString): Pointer

 

static Pointer MethodAddress(ShortString Name)

 

static func MethodAddress(_ Name: ShortString) -> Pointer

 

static Pointer MethodAddress(ShortString Name)

 

Shared Function MethodAddress(Name As ShortString) As Pointer

Parameters:

  • Name:

MethodName

 

class method MethodName(Address: ^void): DelphiString

 

static DelphiString MethodName(void* Address)

 

static func MethodName(_ Address: UnsafeMutablePointer<void>) -> DelphiString

 

static DelphiString MethodName(void* Address)

 

Shared Function MethodName(Address As Ptr(Of Void)) As DelphiString

Parameters:

  • Address:

NewInstance

 

class method NewInstance: TObject

 

static TObject NewInstance()

 

static func NewInstance() -> TObject

 

static TObject NewInstance()

 

Shared Function NewInstance() As TObject

SafeCallException

 

method SafeCallException(ExceptObject: Object; ExceptAddr: ^void): Int64

 

Int64 SafeCallException(Object ExceptObject, void* ExceptAddr)

 

func SafeCallException(_ ExceptObject: Object, _ ExceptAddr: UnsafeMutablePointer<void>) -> Int64

 

Int64 SafeCallException(Object ExceptObject, void* ExceptAddr)

 

Function SafeCallException(ExceptObject As Object, ExceptAddr As Ptr(Of Void)) As Int64

Parameters:

  • ExceptObject:
  • ExceptAddr:

 

ClassInfo

 

class method ClassInfo: Pointer

 

static Pointer ClassInfo()

 

static func ClassInfo() -> Pointer

 

static Pointer ClassInfo()

 

Shared Function ClassInfo() As Pointer

ClassName

 

class method ClassName: ShortString

 

static ShortString ClassName()

 

static func ClassName() -> ShortString

 

static ShortString ClassName()

 

Shared Function ClassName() As ShortString

ClassNameIs

 

class method ClassNameIs(Name: String): Boolean

 

static Boolean ClassNameIs(String Name)

 

static func ClassNameIs(_ Name: String) -> Boolean

 

static Boolean ClassNameIs(String Name)

 

Shared Function ClassNameIs(Name As String) As Boolean

Parameters:

  • Name:

ClassParent

 

class method ClassParent: TClass

 

static TClass ClassParent()

 

static func ClassParent() -> TClass

 

static TClass ClassParent()

 

Shared Function ClassParent() As TClass

GetInterfaceEntry

 

class method GetInterfaceEntry(IID: TGUID): PInterfaceEntry

 

static PInterfaceEntry GetInterfaceEntry(TGUID IID)

 

static func GetInterfaceEntry(_ IID: TGUID) -> PInterfaceEntry

 

static PInterfaceEntry GetInterfaceEntry(TGUID IID)

 

Shared Function GetInterfaceEntry(IID As TGUID) As PInterfaceEntry

Parameters:

  • IID:

GetInterfaceTable

 

class method GetInterfaceTable: PInterfaceTable

 

static PInterfaceTable GetInterfaceTable()

 

static func GetInterfaceTable() -> PInterfaceTable

 

static PInterfaceTable GetInterfaceTable()

 

Shared Function GetInterfaceTable() As PInterfaceTable

InheritsFrom

 

class method InheritsFrom(AClass: TClass): Boolean

 

static Boolean InheritsFrom(TClass AClass)

 

static func InheritsFrom(_ AClass: TClass) -> Boolean

 

static Boolean InheritsFrom(TClass AClass)

 

Shared Function InheritsFrom(AClass As TClass) As Boolean

Parameters:

  • AClass:

InitInstance

 

class method InitInstance(Instance: ^void): Object

 

static Object InitInstance(void* Instance)

 

static func InitInstance(_ Instance: UnsafeMutablePointer<void>) -> Object

 

static Object InitInstance(void* Instance)

 

Shared Function InitInstance(Instance As Ptr(Of Void)) As Object

Parameters:

  • Instance:

InstanceSize

 

class method InstanceSize: Int32

 

static Int32 InstanceSize()

 

static func InstanceSize() -> Int32

 

static Int32 InstanceSize()

 

Shared Function InstanceSize() As Int32

MethodAddress

 

class method MethodAddress(Name: ShortString): Pointer

 

static Pointer MethodAddress(ShortString Name)

 

static func MethodAddress(_ Name: ShortString) -> Pointer

 

static Pointer MethodAddress(ShortString Name)

 

Shared Function MethodAddress(Name As ShortString) As Pointer

Parameters:

  • Name:

MethodName

 

class method MethodName(Address: ^void): DelphiString

 

static DelphiString MethodName(void* Address)

 

static func MethodName(_ Address: UnsafeMutablePointer<void>) -> DelphiString

 

static DelphiString MethodName(void* Address)

 

Shared Function MethodName(Address As Ptr(Of Void)) As DelphiString

Parameters:

  • Address:

NewInstance

 

class method NewInstance: TObject

 

static TObject NewInstance()

 

static func NewInstance() -> TObject

 

static TObject NewInstance()

 

Shared Function NewInstance() As TObject

 

AfterConstruction

 

method AfterConstruction

 

void AfterConstruction()

 

func AfterConstruction()

 

void AfterConstruction()

 

Sub AfterConstruction()

BeforeDestruction

 

method BeforeDestruction

 

void BeforeDestruction()

 

func BeforeDestruction()

 

void BeforeDestruction()

 

Sub BeforeDestruction()

ClassType

 

method ClassType: TClass

 

TClass ClassType()

 

func ClassType() -> TClass

 

TClass ClassType()

 

Function ClassType() As TClass

CleanupInstance

 

method CleanupInstance

 

void CleanupInstance()

 

func CleanupInstance()

 

void CleanupInstance()

 

Sub CleanupInstance()

DefaultHandler

 

method DefaultHandler(var Message: Object)

 

void DefaultHandler(ref Object Message)

 

func DefaultHandler(_ Message: Object)

 

void DefaultHandler(__ref Object Message)

 

Sub DefaultHandler(ByRef Message As Object)

Parameters:

  • Message:

Destroy

 

method Destroy

 

void Destroy()

 

func Destroy()

 

void Destroy()

 

Sub Destroy()

Dispatch

 

method Dispatch(var Message: Object)

 

void Dispatch(ref Object Message)

 

func Dispatch(_ Message: Object)

 

void Dispatch(__ref Object Message)

 

Sub Dispatch(ByRef Message As Object)

Parameters:

  • Message:

Free

 

method Free

 

void Free()

 

func Free()

 

void Free()

 

Sub Free()

FreeInstance

 

method FreeInstance

 

void FreeInstance()

 

func FreeInstance()

 

void FreeInstance()

 

Sub FreeInstance()

InstanceClassName

 

method InstanceClassName: String

 

String InstanceClassName()

 

func InstanceClassName() -> String

 

String InstanceClassName()

 

Function InstanceClassName() As String

SafeCallException

 

method SafeCallException(ExceptObject: Object; ExceptAddr: ^void): Int64

 

Int64 SafeCallException(Object ExceptObject, void* ExceptAddr)

 

func SafeCallException(_ ExceptObject: Object, _ ExceptAddr: UnsafeMutablePointer<void>) -> Int64

 

Int64 SafeCallException(Object ExceptObject, void* ExceptAddr)

 

Function SafeCallException(ExceptObject As Object, ExceptAddr As Ptr(Of Void)) As Int64

Parameters:

  • ExceptObject:
  • ExceptAddr: