ObjcStrong

Overview

Lifetime strategy for objc types (strongly assigned)

Location


 

constructor  protected    (declared in ValueType)

 

constructor

 

ObjcStrong()

 

init()

 

ObjcStrong()

 

Sub New()

constructor Copy(ObjcStrong)

 

constructor Copy(var aValue: ObjcStrong)

 

ObjcStrong Copy(ref ObjcStrong aValue)

 

init(Copy aValue: ObjcStrong)

 

ObjcStrong Copy(__ref ObjcStrong aValue)

 

Sub New Copy(ByRef aValue As ObjcStrong)

Parameters:

  • aValue:

 

class method Assign(var aDest: ObjcStrong; var aSource: ObjcStrong)

 

static void Assign(ref ObjcStrong aDest, ref ObjcStrong aSource)

 

static func Assign(_ aDest: ObjcStrong, _ aSource: ObjcStrong)

 

static void Assign(__ref ObjcStrong aDest, __ref ObjcStrong aSource)

 

Shared Sub Assign(ByRef aDest As ObjcStrong, ByRef aSource As ObjcStrong)

Parameters:

  • aDest:
  • aSource:

Assign (ObjcStrong, ObjcWeak)

 

class method Assign(var aDest: ObjcStrong; var aSource: ObjcWeak)

 

static void Assign(ref ObjcStrong aDest, ref ObjcWeak aSource)

 

static func Assign(_ aDest: ObjcStrong, _ aSource: ObjcWeak)

 

static void Assign(__ref ObjcStrong aDest, __ref ObjcWeak aSource)

 

Shared Sub Assign(ByRef aDest As ObjcStrong, ByRef aSource As ObjcWeak)

Parameters:

  • aDest:
  • aSource:

Copy

 

class method Copy(var aDest: ObjcStrong; var aSource: ObjcStrong)

 

static void Copy(ref ObjcStrong aDest, ref ObjcStrong aSource)

 

static func Copy(_ aDest: ObjcStrong, _ aSource: ObjcStrong)

 

static void Copy(__ref ObjcStrong aDest, __ref ObjcStrong aSource)

 

Shared Sub Copy(ByRef aDest As ObjcStrong, ByRef aSource As ObjcStrong)

Parameters:

  • aDest:
  • aSource:

Equals  virtual    (declared in Object)

Default constructor.

 

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: the reference to compare this with.

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

GetReturnValue

 

class method GetReturnValue(aValue: ObjcStrong): ObjcStrong

 

static ObjcStrong GetReturnValue(ObjcStrong aValue)

 

static func GetReturnValue(_ aValue: ObjcStrong) -> ObjcStrong

 

static ObjcStrong GetReturnValue(ObjcStrong aValue)

 

Shared Function GetReturnValue(aValue As ObjcStrong) As ObjcStrong

Parameters:

  • aValue:

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

Init

 

class method Init(var Dest: ObjcStrong)

 

static void Init(ref ObjcStrong Dest)

 

static func Init(_ Dest: ObjcStrong)

 

static void Init(__ref ObjcStrong Dest)

 

Shared Sub Init(ByRef Dest As ObjcStrong)

Parameters:

  • Dest:

New

 

class method New(aTTY: ^void; aSize: NativeInt): ^void

 

static void* New(void* aTTY, NativeInt aSize)

 

static func New(_ aTTY: UnsafeMutablePointer<void>, _ aSize: NativeInt) -> UnsafeMutablePointer<void>

 

static void* New(void* aTTY, NativeInt aSize)

 

Shared Function New(aTTY As Ptr(Of Void), aSize As NativeInt) As Ptr(Of Void)

Parameters:

  • aTTY:
  • aSize:

NewBlockDelegate

 

class method NewBlockDelegate(aPtr: ^void; aData: Object): IntPtr

 

static IntPtr NewBlockDelegate(void* aPtr, Object aData)

 

static func NewBlockDelegate(_ aPtr: UnsafeMutablePointer<void>, _ aData: Object) -> IntPtr

 

static IntPtr NewBlockDelegate(void* aPtr, Object aData)

 

Shared Function NewBlockDelegate(aPtr As Ptr(Of Void), aData As Object) As IntPtr

Parameters:

  • aPtr:
  • aData:

objc_autoreleaseReturnValue  External

 

class method objc_autoreleaseReturnValue(aVal: IntPtr): IntPtr

 

static IntPtr objc_autoreleaseReturnValue(IntPtr aVal)

 

static func objc_autoreleaseReturnValue(_ aVal: IntPtr) -> IntPtr

 

static IntPtr objc_autoreleaseReturnValue(IntPtr aVal)

 

Shared Function objc_autoreleaseReturnValue(aVal As IntPtr) As IntPtr

Parameters:

  • aVal:

objc_release  External

 

class method objc_release(aVal: IntPtr)

 

static void objc_release(IntPtr aVal)

 

static func objc_release(_ aVal: IntPtr)

 

static void objc_release(IntPtr aVal)

 

Shared Sub objc_release(aVal As IntPtr)

Parameters:

  • aVal:

objc_retain  External

 

class method objc_retain(aVal: IntPtr): IntPtr

 

static IntPtr objc_retain(IntPtr aVal)

 

static func objc_retain(_ aVal: IntPtr) -> IntPtr

 

static IntPtr objc_retain(IntPtr aVal)

 

Shared Function objc_retain(aVal As IntPtr) As IntPtr

Parameters:

  • aVal:

objc_retainAutoreleasedReturnValue  External

 

class method objc_retainAutoreleasedReturnValue(aVal: IntPtr): IntPtr

 

static IntPtr objc_retainAutoreleasedReturnValue(IntPtr aVal)

 

static func objc_retainAutoreleasedReturnValue(_ aVal: IntPtr) -> IntPtr

 

static IntPtr objc_retainAutoreleasedReturnValue(IntPtr aVal)

 

Shared Function objc_retainAutoreleasedReturnValue(aVal As IntPtr) As IntPtr

Parameters:

  • aVal:

objc_retainAutoreleaseReturnValue  External

 

class method objc_retainAutoreleaseReturnValue(aVal: IntPtr): IntPtr

 

static IntPtr objc_retainAutoreleaseReturnValue(IntPtr aVal)

 

static func objc_retainAutoreleaseReturnValue(_ aVal: IntPtr) -> IntPtr

 

static IntPtr objc_retainAutoreleaseReturnValue(IntPtr aVal)

 

Shared Function objc_retainAutoreleaseReturnValue(aVal As IntPtr) As IntPtr

Parameters:

  • aVal:

objc_retainBlock  External

 

class method objc_retainBlock(aVal: IntPtr): IntPtr

 

static IntPtr objc_retainBlock(IntPtr aVal)

 

static func objc_retainBlock(_ aVal: IntPtr) -> IntPtr

 

static IntPtr objc_retainBlock(IntPtr aVal)

 

Shared Function objc_retainBlock(aVal As IntPtr) As IntPtr

Parameters:

  • aVal:

objc_storeStrong  External

 

class method objc_storeStrong(var aDest: IntPtr; aSrc: IntPtr)

 

static void objc_storeStrong(ref IntPtr aDest, IntPtr aSrc)

 

static func objc_storeStrong(_ aDest: IntPtr, _ aSrc: IntPtr)

 

static void objc_storeStrong(__ref IntPtr aDest, IntPtr aSrc)

 

Shared Sub objc_storeStrong(ByRef aDest As IntPtr, aSrc As IntPtr)

Parameters:

  • aDest:
  • aSrc:

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

Release

 

class method Release(var aDest: ObjcStrong)

 

static void Release(ref ObjcStrong aDest)

 

static func Release(_ aDest: ObjcStrong)

 

static void Release(__ref ObjcStrong aDest)

 

Shared Sub Release(ByRef aDest As ObjcStrong)

Parameters:

  • aDest:

ReturnValue

 

class method ReturnValue(aValue: ObjcStrong): ObjcStrong

 

static ObjcStrong ReturnValue(ObjcStrong aValue)

 

static func ReturnValue(_ aValue: ObjcStrong) -> ObjcStrong

 

static ObjcStrong ReturnValue(ObjcStrong aValue)

 

Shared Function ReturnValue(aValue As ObjcStrong) As ObjcStrong

Parameters:

  • 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

 

 

class method Assign(var aDest: ObjcStrong; var aSource: ObjcStrong)

 

static void Assign(ref ObjcStrong aDest, ref ObjcStrong aSource)

 

static func Assign(_ aDest: ObjcStrong, _ aSource: ObjcStrong)

 

static void Assign(__ref ObjcStrong aDest, __ref ObjcStrong aSource)

 

Shared Sub Assign(ByRef aDest As ObjcStrong, ByRef aSource As ObjcStrong)

Parameters:

  • aDest:
  • aSource:

Assign (ObjcStrong, ObjcWeak)

 

class method Assign(var aDest: ObjcStrong; var aSource: ObjcWeak)

 

static void Assign(ref ObjcStrong aDest, ref ObjcWeak aSource)

 

static func Assign(_ aDest: ObjcStrong, _ aSource: ObjcWeak)

 

static void Assign(__ref ObjcStrong aDest, __ref ObjcWeak aSource)

 

Shared Sub Assign(ByRef aDest As ObjcStrong, ByRef aSource As ObjcWeak)

Parameters:

  • aDest:
  • aSource:

Copy

 

class method Copy(var aDest: ObjcStrong; var aSource: ObjcStrong)

 

static void Copy(ref ObjcStrong aDest, ref ObjcStrong aSource)

 

static func Copy(_ aDest: ObjcStrong, _ aSource: ObjcStrong)

 

static void Copy(__ref ObjcStrong aDest, __ref ObjcStrong aSource)

 

Shared Sub Copy(ByRef aDest As ObjcStrong, ByRef aSource As ObjcStrong)

Parameters:

  • aDest:
  • aSource:

GetReturnValue

 

class method GetReturnValue(aValue: ObjcStrong): ObjcStrong

 

static ObjcStrong GetReturnValue(ObjcStrong aValue)

 

static func GetReturnValue(_ aValue: ObjcStrong) -> ObjcStrong

 

static ObjcStrong GetReturnValue(ObjcStrong aValue)

 

Shared Function GetReturnValue(aValue As ObjcStrong) As ObjcStrong

Parameters:

  • aValue:

Init

 

class method Init(var Dest: ObjcStrong)

 

static void Init(ref ObjcStrong Dest)

 

static func Init(_ Dest: ObjcStrong)

 

static void Init(__ref ObjcStrong Dest)

 

Shared Sub Init(ByRef Dest As ObjcStrong)

Parameters:

  • Dest:

New

 

class method New(aTTY: ^void; aSize: NativeInt): ^void

 

static void* New(void* aTTY, NativeInt aSize)

 

static func New(_ aTTY: UnsafeMutablePointer<void>, _ aSize: NativeInt) -> UnsafeMutablePointer<void>

 

static void* New(void* aTTY, NativeInt aSize)

 

Shared Function New(aTTY As Ptr(Of Void), aSize As NativeInt) As Ptr(Of Void)

Parameters:

  • aTTY:
  • aSize:

NewBlockDelegate

 

class method NewBlockDelegate(aPtr: ^void; aData: Object): IntPtr

 

static IntPtr NewBlockDelegate(void* aPtr, Object aData)

 

static func NewBlockDelegate(_ aPtr: UnsafeMutablePointer<void>, _ aData: Object) -> IntPtr

 

static IntPtr NewBlockDelegate(void* aPtr, Object aData)

 

Shared Function NewBlockDelegate(aPtr As Ptr(Of Void), aData As Object) As IntPtr

Parameters:

  • aPtr:
  • aData:

objc_autoreleaseReturnValue  External

 

class method objc_autoreleaseReturnValue(aVal: IntPtr): IntPtr

 

static IntPtr objc_autoreleaseReturnValue(IntPtr aVal)

 

static func objc_autoreleaseReturnValue(_ aVal: IntPtr) -> IntPtr

 

static IntPtr objc_autoreleaseReturnValue(IntPtr aVal)

 

Shared Function objc_autoreleaseReturnValue(aVal As IntPtr) As IntPtr

Parameters:

  • aVal:

objc_release  External

 

class method objc_release(aVal: IntPtr)

 

static void objc_release(IntPtr aVal)

 

static func objc_release(_ aVal: IntPtr)

 

static void objc_release(IntPtr aVal)

 

Shared Sub objc_release(aVal As IntPtr)

Parameters:

  • aVal:

objc_retain  External

 

class method objc_retain(aVal: IntPtr): IntPtr

 

static IntPtr objc_retain(IntPtr aVal)

 

static func objc_retain(_ aVal: IntPtr) -> IntPtr

 

static IntPtr objc_retain(IntPtr aVal)

 

Shared Function objc_retain(aVal As IntPtr) As IntPtr

Parameters:

  • aVal:

objc_retainAutoreleasedReturnValue  External

 

class method objc_retainAutoreleasedReturnValue(aVal: IntPtr): IntPtr

 

static IntPtr objc_retainAutoreleasedReturnValue(IntPtr aVal)

 

static func objc_retainAutoreleasedReturnValue(_ aVal: IntPtr) -> IntPtr

 

static IntPtr objc_retainAutoreleasedReturnValue(IntPtr aVal)

 

Shared Function objc_retainAutoreleasedReturnValue(aVal As IntPtr) As IntPtr

Parameters:

  • aVal:

objc_retainAutoreleaseReturnValue  External

 

class method objc_retainAutoreleaseReturnValue(aVal: IntPtr): IntPtr

 

static IntPtr objc_retainAutoreleaseReturnValue(IntPtr aVal)

 

static func objc_retainAutoreleaseReturnValue(_ aVal: IntPtr) -> IntPtr

 

static IntPtr objc_retainAutoreleaseReturnValue(IntPtr aVal)

 

Shared Function objc_retainAutoreleaseReturnValue(aVal As IntPtr) As IntPtr

Parameters:

  • aVal:

objc_retainBlock  External

 

class method objc_retainBlock(aVal: IntPtr): IntPtr

 

static IntPtr objc_retainBlock(IntPtr aVal)

 

static func objc_retainBlock(_ aVal: IntPtr) -> IntPtr

 

static IntPtr objc_retainBlock(IntPtr aVal)

 

Shared Function objc_retainBlock(aVal As IntPtr) As IntPtr

Parameters:

  • aVal:

objc_storeStrong  External

 

class method objc_storeStrong(var aDest: IntPtr; aSrc: IntPtr)

 

static void objc_storeStrong(ref IntPtr aDest, IntPtr aSrc)

 

static func objc_storeStrong(_ aDest: IntPtr, _ aSrc: IntPtr)

 

static void objc_storeStrong(__ref IntPtr aDest, IntPtr aSrc)

 

Shared Sub objc_storeStrong(ByRef aDest As IntPtr, aSrc As IntPtr)

Parameters:

  • aDest:
  • aSrc:

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

Release

 

class method Release(var aDest: ObjcStrong)

 

static void Release(ref ObjcStrong aDest)

 

static func Release(_ aDest: ObjcStrong)

 

static void Release(__ref ObjcStrong aDest)

 

Shared Sub Release(ByRef aDest As ObjcStrong)

Parameters:

  • aDest:

ReturnValue

 

class method ReturnValue(aValue: ObjcStrong): ObjcStrong

 

static ObjcStrong ReturnValue(ObjcStrong aValue)

 

static func ReturnValue(_ aValue: ObjcStrong) -> ObjcStrong

 

static ObjcStrong ReturnValue(ObjcStrong aValue)

 

Shared Function ReturnValue(aValue As ObjcStrong) As ObjcStrong

Parameters:

  • aValue:

 

constructor  protected    (declared in ValueType)

 

constructor

 

ObjcStrong()

 

init()

 

ObjcStrong()

 

Sub New()

constructor Copy(ObjcStrong)

 

constructor Copy(var aValue: ObjcStrong)

 

ObjcStrong Copy(ref ObjcStrong aValue)

 

init(Copy aValue: ObjcStrong)

 

ObjcStrong Copy(__ref ObjcStrong aValue)

 

Sub New Copy(ByRef aValue As ObjcStrong)

Parameters:

  • aValue:

Equals  virtual    (declared in Object)

Default constructor.

 

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: the reference to compare this with.

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

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