ComObject

Overview

Location


 

constructor

 

constructor

 

ComObject()

 

init()

 

ComObject()

 

Sub New()

constructor (ComObjectFactory)

 

constructor(aFactory: ComObjectFactory)

 

ComObject(ComObjectFactory aFactory)

 

init(_ aFactory: ComObjectFactory)

 

ComObject(ComObjectFactory aFactory)

 

Sub New(aFactory As ComObjectFactory)

Parameters:

  • aFactory:

AddRef  virtual    (declared in InterfacedObject)

 

method AddRef: ULONG

 

ULONG AddRef()

 

func AddRef() -> ULONG

 

ULONG AddRef()

 

Function AddRef() As ULONG

AddRef  virtual

 

method AddRef: ULONG

 

ULONG AddRef()

 

func AddRef() -> ULONG

 

ULONG AddRef()

 

Function AddRef() As ULONG

ComDispose

 

method ComDispose

 

void ComDispose()

 

func ComDispose()

 

void ComDispose()

 

Sub ComDispose()

DefaultQueryInterface  override virtual

 

method DefaultQueryInterface(var riid: Guid; out ppvObject: ^void): Boolean

 

Boolean DefaultQueryInterface(ref Guid riid, out void* ppvObject)

 

func DefaultQueryInterface(_ riid: Guid, _ ppvObject: UnsafeMutablePointer<void>) -> Boolean

 

Boolean DefaultQueryInterface(__ref Guid riid, __out void* ppvObject)

 

Function DefaultQueryInterface(ByRef riid As Guid, <OutAttribute> ByRef ppvObject As Ptr(Of Void)) As Boolean

Parameters:

  • riid:
  • ppvObject:

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.

Factory

 

property Factory: ComObjectFactory read;

 

ComObjectFactory Factory { get; }

 

var Factory: ComObjectFactory { get{} }

 

ComObjectFactory Factory { __get; }

 

ReadOnly Property Factory() As ComObjectFactory

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

Initialize  virtual

 

method Initialize

 

void Initialize()

 

func Initialize()

 

void Initialize()

 

Sub Initialize()

InterfaceSupportsErrorInfo  stdcall

 

method InterfaceSupportsErrorInfo(riid: ^GUID): HRESULT

 

HRESULT InterfaceSupportsErrorInfo(GUID* riid)

 

func InterfaceSupportsErrorInfo(_ riid: UnsafeMutablePointer<GUID>) -> HRESULT

 

HRESULT InterfaceSupportsErrorInfo(GUID* riid)

 

Function InterfaceSupportsErrorInfo(riid As Ptr(Of GUID)) As HRESULT

Parameters:

  • riid:

QueryInterface  virtual

 

method QueryInterface(var riid: Guid; out ppvObject: ^void): Boolean

 

Boolean QueryInterface(ref Guid riid, out void* ppvObject)

 

func QueryInterface(_ riid: Guid, _ ppvObject: UnsafeMutablePointer<void>) -> Boolean

 

Boolean QueryInterface(__ref Guid riid, __out void* ppvObject)

 

Function QueryInterface(ByRef riid As Guid, <OutAttribute> ByRef ppvObject As Ptr(Of Void)) As Boolean

Parameters:

  • riid:
  • ppvObject:

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  virtual    (declared in InterfacedObject)

 

method Release: ULONG

 

ULONG Release()

 

func Release() -> ULONG

 

ULONG Release()

 

Function Release() As ULONG

Release  virtual

 

method Release: ULONG

 

ULONG Release()

 

func Release() -> ULONG

 

ULONG Release()

 

Function Release() As ULONG

SafeCallException

 

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

 

HRESULT SafeCallException(Object ExceptObject, void* ExceptAddr)

 

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

 

HRESULT SafeCallException(Object ExceptObject, void* ExceptAddr)

 

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

Parameters:

  • ExceptObject:
  • ExceptAddr:

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

 

Factory

 

property Factory: ComObjectFactory read;

 

ComObjectFactory Factory { get; }

 

var Factory: ComObjectFactory { get{} }

 

ComObjectFactory Factory { __get; }

 

ReadOnly Property Factory() As ComObjectFactory

 

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

 

constructor

 

ComObject()

 

init()

 

ComObject()

 

Sub New()

constructor (ComObjectFactory)

 

constructor(aFactory: ComObjectFactory)

 

ComObject(ComObjectFactory aFactory)

 

init(_ aFactory: ComObjectFactory)

 

ComObject(ComObjectFactory aFactory)

 

Sub New(aFactory As ComObjectFactory)

Parameters:

  • aFactory:

AddRef  virtual    (declared in InterfacedObject)

 

method AddRef: ULONG

 

ULONG AddRef()

 

func AddRef() -> ULONG

 

ULONG AddRef()

 

Function AddRef() As ULONG

AddRef  virtual

 

method AddRef: ULONG

 

ULONG AddRef()

 

func AddRef() -> ULONG

 

ULONG AddRef()

 

Function AddRef() As ULONG

ComDispose

 

method ComDispose

 

void ComDispose()

 

func ComDispose()

 

void ComDispose()

 

Sub ComDispose()

DefaultQueryInterface  override virtual

 

method DefaultQueryInterface(var riid: Guid; out ppvObject: ^void): Boolean

 

Boolean DefaultQueryInterface(ref Guid riid, out void* ppvObject)

 

func DefaultQueryInterface(_ riid: Guid, _ ppvObject: UnsafeMutablePointer<void>) -> Boolean

 

Boolean DefaultQueryInterface(__ref Guid riid, __out void* ppvObject)

 

Function DefaultQueryInterface(ByRef riid As Guid, <OutAttribute> ByRef ppvObject As Ptr(Of Void)) As Boolean

Parameters:

  • riid:
  • ppvObject:

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

Initialize  virtual

 

method Initialize

 

void Initialize()

 

func Initialize()

 

void Initialize()

 

Sub Initialize()

InterfaceSupportsErrorInfo  stdcall

 

method InterfaceSupportsErrorInfo(riid: ^GUID): HRESULT

 

HRESULT InterfaceSupportsErrorInfo(GUID* riid)

 

func InterfaceSupportsErrorInfo(_ riid: UnsafeMutablePointer<GUID>) -> HRESULT

 

HRESULT InterfaceSupportsErrorInfo(GUID* riid)

 

Function InterfaceSupportsErrorInfo(riid As Ptr(Of GUID)) As HRESULT

Parameters:

  • riid:

QueryInterface  virtual

 

method QueryInterface(var riid: Guid; out ppvObject: ^void): Boolean

 

Boolean QueryInterface(ref Guid riid, out void* ppvObject)

 

func QueryInterface(_ riid: Guid, _ ppvObject: UnsafeMutablePointer<void>) -> Boolean

 

Boolean QueryInterface(__ref Guid riid, __out void* ppvObject)

 

Function QueryInterface(ByRef riid As Guid, <OutAttribute> ByRef ppvObject As Ptr(Of Void)) As Boolean

Parameters:

  • riid:
  • ppvObject:

Release  virtual    (declared in InterfacedObject)

 

method Release: ULONG

 

ULONG Release()

 

func Release() -> ULONG

 

ULONG Release()

 

Function Release() As ULONG

Release  virtual

 

method Release: ULONG

 

ULONG Release()

 

func Release() -> ULONG

 

ULONG Release()

 

Function Release() As ULONG

SafeCallException

 

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

 

HRESULT SafeCallException(Object ExceptObject, void* ExceptAddr)

 

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

 

HRESULT SafeCallException(Object ExceptObject, void* ExceptAddr)

 

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

Parameters:

  • ExceptObject:
  • ExceptAddr:

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

 

Implements