COMRC
Overview
Lifetime strategy for COM reference counting support.
Location
- Reference: Island.fx
- Namespace: RemObjects.Elements.System
- Ancestry: ValueType | COMRC
constructor protected (declared in ValueType)
constructor
COMRC()
init()
COMRC()
Sub New()
Assign
Parameters:
- aDest:
- aSource:
Copy
Parameters:
- aDest:
- aSource:
Equals virtual (declared in Object)
Default constructor.
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)
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.
Assign
Parameters:
- aDest:
- aSource:
Copy
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)
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.
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.