Enum

Overview

Virtual base type for enumeration types.

Location


 

constructor  protected

 

constructor

 

Enum()

 

init()

 

Enum()

 

Sub New()

EnumSize

Size of this enum, in bytes.

 

property EnumSize: Int32 read;

 

Int32 EnumSize { get; }

 

var EnumSize: Int32 { get{} }

 

Int32 EnumSize { __get; }

 

ReadOnly Property EnumSize() As Int32

Equals  override virtual

Returns true if the target object matches this one, by default compares the reference.

 

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:

Finalize  protected virtual    (declared in Object)

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

 

Sub Finalize()

GetHashCode  override virtual

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

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

ToInt64

Convert this enum's underlying value to an int64.

 

method ToInt64: Int64

 

Int64 ToInt64()

 

func ToInt64() -> Int64

 

Int64 ToInt64()

 

Function ToInt64() As Int64

ToString  override virtual

Gets the string representation of this method.

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

 

Function ToString() As String

 

EnumSize

Size of this enum, in bytes.

 

property EnumSize: Int32 read;

 

Int32 EnumSize { get; }

 

var EnumSize: Int32 { get{} }

 

Int32 EnumSize { __get; }

 

ReadOnly Property EnumSize() As Int32

 

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  protected

 

constructor

 

Enum()

 

init()

 

Enum()

 

Sub New()

Equals  override virtual

Returns true if the target object matches this one, by default compares the reference.

 

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:

Finalize  protected virtual    (declared in Object)

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

 

Sub Finalize()

GetHashCode  override virtual

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

ToInt64

Convert this enum's underlying value to an int64.

 

method ToInt64: Int64

 

Int64 ToInt64()

 

func ToInt64() -> Int64

 

Int64 ToInt64()

 

Function ToInt64() As Int64

ToString  override virtual

Gets the string representation of this method.

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

 

Function ToString() As String