COMRC

Overview

Lifetime strategy for COM reference counting support.

Location


 

constructor  protected    (declared in ValueType)

 

constructor

 

COMRC()

 

init()

 

COMRC()

 

Sub New()

Assign

 

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

 

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

 

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

 

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

 

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

Parameters:

  • aDest:
  • aSource:

Copy

 

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

 

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

 

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

 

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

 

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

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

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: COMRC)

 

static void Init(ref COMRC Dest)

 

static func Init(_ Dest: COMRC)

 

static void Init(__ref COMRC Dest)

 

Shared Sub Init(ByRef Dest As COMRC)

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:

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: COMRC)

 

static void Release(ref COMRC aDest)

 

static func Release(_ aDest: COMRC)

 

static void Release(__ref COMRC aDest)

 

Shared Sub Release(ByRef aDest As COMRC)

Parameters:

  • aDest:

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

 

Assign

 

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

 

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

 

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

 

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

 

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

Parameters:

  • aDest:
  • aSource:

Copy

 

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

 

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

 

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

 

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

 

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

Parameters:

  • aDest:
  • aSource:

Init

 

class method Init(var Dest: COMRC)

 

static void Init(ref COMRC Dest)

 

static func Init(_ Dest: COMRC)

 

static void Init(__ref COMRC Dest)

 

Shared Sub Init(ByRef Dest As COMRC)

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:

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: COMRC)

 

static void Release(ref COMRC aDest)

 

static func Release(_ aDest: COMRC)

 

static void Release(__ref COMRC aDest)

 

Shared Sub Release(ByRef aDest As COMRC)

Parameters:

  • aDest:

 

constructor  protected    (declared in ValueType)

 

constructor

 

COMRC()

 

init()

 

COMRC()

 

Sub New()

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