Dictionary<T,U>

Overview

Dictionary implementation maps a given unique key of type T to a value of type U.

Location

 

constructor Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows

 

constructor

 

Dictionary<T,U>()

 

init()

 

Dictionary<T,U>()

 

Sub New()

constructor (Int32) Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows

 

constructor(aCapacity: Int32)

 

Dictionary<T,U>(Int32 aCapacity)

 

init(_ aCapacity: Int32)

 

Dictionary<T,U>(Int32 aCapacity)

 

Sub New(aCapacity As Int32)

Parameters:

  • aCapacity:

constructor (Int32, nullable RemObjects.Elements.System.IEqualityComparer<T>) Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows

 

constructor(aCapacity: Int32; aComparer: nullable RemObjects.Elements.System.IEqualityComparer<T>)

 

Dictionary<T,U>(Int32 aCapacity, RemObjects.Elements.System.IEqualityComparer<T>? aComparer)

 

init(_ aCapacity: Int32, _ aComparer: RemObjects.Elements.System.IEqualityComparer<T>?)

 

Dictionary<T,U>(Int32 aCapacity, RemObjects.Elements.System.IEqualityComparer<T> aComparer)

 

Sub New(aCapacity As Int32, aComparer As RemObjects.Elements.System.IEqualityComparer<T>?)

Parameters:

  • aCapacity:
  • aComparer:

constructor (nullable RemObjects.Elements.System.IEqualityComparer<T>) Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows

Parameters:

  • aComparer:

constructor (NSDictionary<T, U>) iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, watchOS, watchOS Simulator

 

constructor(aDictionary: NSDictionary<T, U>)

 

Dictionary<T,U>(NSDictionary<T, U> aDictionary)

 

init(_ aDictionary: NSDictionary<T, U>)

 

Dictionary<T,U>(NSDictionary<T, U> aDictionary)

 

Sub New(aDictionary As NSDictionary<T, U>)

Parameters:

  • aDictionary:

constructor (Int32) UIKit for Mac

Constructor with capacity.

 

constructor(aCapacity: Int32)

 

Dictionary<T,U>(Int32 aCapacity)

 

init(_ aCapacity: Int32)

 

Dictionary<T,U>(Int32 aCapacity)

 

Sub New(aCapacity As Int32)

Parameters:

  • aCapacity: The initial capacity.

constructor (Int32, nullable IEqualityComparer<T>) UIKit for Mac

Constructor with non default equality comparer and initial capacity.

 

constructor(aCapacity: Int32; aComparer: nullable IEqualityComparer<T>)

 

Dictionary<T,U>(Int32 aCapacity, IEqualityComparer<T>? aComparer)

 

init(_ aCapacity: Int32, _ aComparer: IEqualityComparer<T>?)

 

Dictionary<T,U>(Int32 aCapacity, IEqualityComparer<T> aComparer)

 

Sub New(aCapacity As Int32, aComparer As IEqualityComparer<T>?)

Parameters:

  • aCapacity: The initial capacity.
  • aComparer: The comparer to use.

constructor (nullable IEqualityComparer<T>) UIKit for Mac

Constructor with non default equality comparer.

 

constructor(aComparer: nullable IEqualityComparer<T>)

 

Dictionary<T,U>(IEqualityComparer<T>? aComparer)

 

init(_ aComparer: IEqualityComparer<T>?)

 

Dictionary<T,U>(IEqualityComparer<T> aComparer)

 

Sub New(aComparer As IEqualityComparer<T>?)

Parameters:

  • aComparer: The comparer to use.

Add (T, U) Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows

 

method Add(Key: T; Value: U)

 

void Add(T Key, U Value)

 

func Add(_ Key: T, _ Value: U)

 

void Add(T Key, U Value)

 

Sub Add(Key As T, Value As U)

Parameters:

  • Key:
  • Value:

Add (T, U) UIKit for Mac

Adds an item to the dictionary; Fails if Key is already present.

 

method Add(Key: T; Value: U)

 

Add(T Key, U Value)

 

func Add(_ Key: T, _ Value: U)

 

Add(T Key, U Value)

 

Sub Add(Key As T, Value As U)

Parameters:

  • Key: The key for this item
  • Value: The value for this item

Clear UIKit for Mac

Clears all items from this dictionary.

 

method Clear

 

Clear()

 

func Clear()

 

Clear()

 

Sub Clear()

ContainsKey    (declared in ImmutableDictionary<T,U>)

Returns true if this key is contained in this dictionary.

 

method ContainsKey(Key: T): Boolean

 

Boolean ContainsKey(T Key)

 

func ContainsKey(_ Key: T) -> Boolean

 

Boolean ContainsKey(T Key)

 

Function ContainsKey(Key As T) As Boolean

Parameters:

  • Key:

ContainsValue    (declared in ImmutableDictionary<T,U>)

Loops the dictionary and returns true if this value is contained in this dictionary.

 

method ContainsValue(Value: U): Boolean

 

Boolean ContainsValue(U Value)

 

func ContainsValue(_ Value: U) -> Boolean

 

Boolean ContainsValue(U Value)

 

Function ContainsValue(Value As U) As Boolean

Parameters:

  • Value:

Count    (declared in ImmutableDictionary<T,U>)

Returns the number of elements in this dictionary.

 

property Count: Int32 read;

 

Int32 Count { get; }

 

var Count: Int32 { get{} }

 

Int32 Count { __get; }

 

ReadOnly Property Count() As Int32

Equals (Object): Boolean  virtual    (declared in Object) Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows

 

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:

Equals (Object): Boolean  virtual    (declared in Object) UIKit for Mac

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

 

method Equals(obj: Object): Boolean

 

Boolean Equals(Object obj)

 

func Equals(_ obj: Object) -> Boolean

 

Boolean Equals(Object obj)

 

Function Equals(obj As Object) As Boolean

Parameters:

  • obj: the reference to compare this with.

Finalize  protected virtual    (declared in Object) UIKit for Mac

Finalizer implementation. If not overriden it's not called at all, the runtime checks if there is an override before calling a finalizer.

 

method Finalize

 

Finalize()

 

func Finalize()

 

Finalize()

 

Sub Finalize()

ForEach (Action<RemObjects.Elements.System.KeyValuePair<T,U>>)    (declared in ImmutableDictionary<T,U>) Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows

 

method ForEach(Action: Action<RemObjects.Elements.System.KeyValuePair<T,U>>)

 

void ForEach(Action<RemObjects.Elements.System.KeyValuePair<T,U>> Action)

 

func ForEach(_ Action: Action<RemObjects.Elements.System.KeyValuePair<T,U>>)

 

void ForEach(Action<RemObjects.Elements.System.KeyValuePair<T,U>> Action)

 

Sub ForEach(Action As Action<RemObjects.Elements.System.KeyValuePair<T,U>>)

Parameters:

  • Action:

ForEach (Action<KeyValuePair<T,U>>)    (declared in ImmutableDictionary<T,U>) UIKit for Mac

Loops the dictionary, triggering the action for each element.

 

method ForEach(Action: Action<KeyValuePair<T,U>>)

 

ForEach(Action<KeyValuePair<T,U>> Action)

 

func ForEach(_ Action: Action<KeyValuePair<T,U>>)

 

ForEach(Action<KeyValuePair<T,U>> Action)

 

Sub ForEach(Action As Action<KeyValuePair<T,U>>)

Parameters:

  • Action:

GetEnumerator  virtual    (declared in ImmutableDictionary<T,U>)

Iterator.

 

// UIKit for Mac
method GetEnumerator: IEnumerator<KeyValuePair<T,U>>
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
method GetEnumerator: IEnumerator<RemObjects.Elements.System.KeyValuePair<T,U>>

 

// UIKit for Mac
IEnumerator<KeyValuePair<T,U>> GetEnumerator()
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
IEnumerator<RemObjects.Elements.System.KeyValuePair<T,U>> GetEnumerator()

 

// UIKit for Mac
func GetEnumerator() -> IEnumerator<KeyValuePair<T,U>>
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
func GetEnumerator() -> IEnumerator<RemObjects.Elements.System.KeyValuePair<T,U>>

 

// UIKit for Mac
IEnumerator<KeyValuePair<T,U>> GetEnumerator()
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
IEnumerator<RemObjects.Elements.System.KeyValuePair<T,U>> GetEnumerator()

 

// UIKit for Mac
Function GetEnumerator() As IEnumerator<KeyValuePair<T,U>>
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
Function GetEnumerator() As IEnumerator<RemObjects.Elements.System.KeyValuePair<T,U>>

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

GetSequence    (declared in ImmutableDictionary<T,U>)

Iterator.

 

// UIKit for Mac
method GetSequence: IEnumerable<KeyValuePair<T,U>>
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
method GetSequence: IEnumerable<RemObjects.Elements.System.KeyValuePair<T,U>>

 

// UIKit for Mac
IEnumerable<KeyValuePair<T,U>> GetSequence()
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
IEnumerable<RemObjects.Elements.System.KeyValuePair<T,U>> GetSequence()

 

// UIKit for Mac
func GetSequence() -> IEnumerable<KeyValuePair<T,U>>
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
func GetSequence() -> IEnumerable<RemObjects.Elements.System.KeyValuePair<T,U>>

 

// UIKit for Mac
IEnumerable<KeyValuePair<T,U>> GetSequence()
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
IEnumerable<RemObjects.Elements.System.KeyValuePair<T,U>> GetSequence()

 

// UIKit for Mac
Function GetSequence() As IEnumerable<KeyValuePair<T,U>>
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
Function GetSequence() As IEnumerable<RemObjects.Elements.System.KeyValuePair<T,U>>

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

Item  override virtual

Indexer. Throws an exception if the item for Key is not present.

 

property Item[Key: T]: U read write;

 

U Item[T Key] { get; set; }

 

subscript Item(_ Key: T) -> U { get{} set{} }

 

U Item[T Key] { __get; __set; }

 

Property Item(Key As T) As U

Keys    (declared in ImmutableDictionary<T,U>)

Iterator on the keys of this dictionary.

 

property Keys: IEnumerable<T> read;

 

IEnumerable<T> Keys { get; }

 

var Keys: IEnumerable<T> { get{} }

 

IEnumerable<T> Keys { __get; }

 

ReadOnly Property Keys() As IEnumerable<T>

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

Remove

Removes an item from the dictionary, returns true if it was there.

 

method Remove(Key: T): Boolean

 

Boolean Remove(T Key)

 

func Remove(_ Key: T) -> Boolean

 

Boolean Remove(T Key)

 

Function Remove(Key As T) As Boolean

Parameters:

  • Key: The key to remove.

ToNSDictionary    (declared in ImmutableDictionary<T,U>) iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, UIKit for Mac, watchOS, watchOS Simulator

Converts a dictionary to NSDictionary.

 

method ToNSDictionary: NSDictionary<T, U>

 

NSDictionary<T, U> ToNSDictionary()

 

func ToNSDictionary() -> NSDictionary<T, U>

 

NSDictionary<T, U> ToNSDictionary()

 

Function ToNSDictionary() As NSDictionary<T, U>

ToNSMutableDictionary    (declared in ImmutableDictionary<T,U>) iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, UIKit for Mac, watchOS, watchOS Simulator

Converts a dictionary to NSMutableDictionary.

 

method ToNSMutableDictionary: NSMutableDictionary<T, U>

 

NSMutableDictionary<T, U> ToNSMutableDictionary()

 

func ToNSMutableDictionary() -> NSMutableDictionary<T, U>

 

NSMutableDictionary<T, U> ToNSMutableDictionary()

 

Function ToNSMutableDictionary() As NSMutableDictionary<T, U>

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

TryGetValue    (declared in ImmutableDictionary<T,U>)

Gets a value from the dictionary by key, or returns false if it's not in the dictionary.

 

method TryGetValue(aKey: T; out aValue: U): Boolean

 

Boolean TryGetValue(T aKey, out U aValue)

 

func TryGetValue(_ aKey: T, _ aValue: U) -> Boolean

 

Boolean TryGetValue(T aKey, __out U aValue)

 

Function TryGetValue(aKey As T, <OutAttribute> ByRef aValue As U) As Boolean

Parameters:

  • aKey:
  • aValue:

Values    (declared in ImmutableDictionary<T,U>)

Value iterator.

 

property Values: IEnumerable<U> read;

 

IEnumerable<U> Values { get; }

 

var Values: IEnumerable<U> { get{} }

 

IEnumerable<U> Values { __get; }

 

ReadOnly Property Values() As IEnumerable<U>

 

Count    (declared in ImmutableDictionary<T,U>)

Returns the number of elements in this dictionary.

 

property Count: Int32 read;

 

Int32 Count { get; }

 

var Count: Int32 { get{} }

 

Int32 Count { __get; }

 

ReadOnly Property Count() As Int32

Item  override virtual

Indexer. Throws an exception if the item for Key is not present.

 

property Item[Key: T]: U read write;

 

U Item[T Key] { get; set; }

 

subscript Item(_ Key: T) -> U { get{} set{} }

 

U Item[T Key] { __get; __set; }

 

Property Item(Key As T) As U

Keys    (declared in ImmutableDictionary<T,U>)

Iterator on the keys of this dictionary.

 

property Keys: IEnumerable<T> read;

 

IEnumerable<T> Keys { get; }

 

var Keys: IEnumerable<T> { get{} }

 

IEnumerable<T> Keys { __get; }

 

ReadOnly Property Keys() As IEnumerable<T>

Values    (declared in ImmutableDictionary<T,U>)

Value iterator.

 

property Values: IEnumerable<U> read;

 

IEnumerable<U> Values { get; }

 

var Values: IEnumerable<U> { get{} }

 

IEnumerable<U> Values { __get; }

 

ReadOnly Property Values() As IEnumerable<U>

 

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 Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows

 

constructor

 

Dictionary<T,U>()

 

init()

 

Dictionary<T,U>()

 

Sub New()

constructor (Int32) Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows

 

constructor(aCapacity: Int32)

 

Dictionary<T,U>(Int32 aCapacity)

 

init(_ aCapacity: Int32)

 

Dictionary<T,U>(Int32 aCapacity)

 

Sub New(aCapacity As Int32)

Parameters:

  • aCapacity:

constructor (Int32, nullable RemObjects.Elements.System.IEqualityComparer<T>) Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows

 

constructor(aCapacity: Int32; aComparer: nullable RemObjects.Elements.System.IEqualityComparer<T>)

 

Dictionary<T,U>(Int32 aCapacity, RemObjects.Elements.System.IEqualityComparer<T>? aComparer)

 

init(_ aCapacity: Int32, _ aComparer: RemObjects.Elements.System.IEqualityComparer<T>?)

 

Dictionary<T,U>(Int32 aCapacity, RemObjects.Elements.System.IEqualityComparer<T> aComparer)

 

Sub New(aCapacity As Int32, aComparer As RemObjects.Elements.System.IEqualityComparer<T>?)

Parameters:

  • aCapacity:
  • aComparer:

constructor (nullable RemObjects.Elements.System.IEqualityComparer<T>) Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows

Parameters:

  • aComparer:

constructor (NSDictionary<T, U>) iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, watchOS, watchOS Simulator

 

constructor(aDictionary: NSDictionary<T, U>)

 

Dictionary<T,U>(NSDictionary<T, U> aDictionary)

 

init(_ aDictionary: NSDictionary<T, U>)

 

Dictionary<T,U>(NSDictionary<T, U> aDictionary)

 

Sub New(aDictionary As NSDictionary<T, U>)

Parameters:

  • aDictionary:

constructor (Int32) UIKit for Mac

Constructor with capacity.

 

constructor(aCapacity: Int32)

 

Dictionary<T,U>(Int32 aCapacity)

 

init(_ aCapacity: Int32)

 

Dictionary<T,U>(Int32 aCapacity)

 

Sub New(aCapacity As Int32)

Parameters:

  • aCapacity: The initial capacity.

constructor (Int32, nullable IEqualityComparer<T>) UIKit for Mac

Constructor with non default equality comparer and initial capacity.

 

constructor(aCapacity: Int32; aComparer: nullable IEqualityComparer<T>)

 

Dictionary<T,U>(Int32 aCapacity, IEqualityComparer<T>? aComparer)

 

init(_ aCapacity: Int32, _ aComparer: IEqualityComparer<T>?)

 

Dictionary<T,U>(Int32 aCapacity, IEqualityComparer<T> aComparer)

 

Sub New(aCapacity As Int32, aComparer As IEqualityComparer<T>?)

Parameters:

  • aCapacity: The initial capacity.
  • aComparer: The comparer to use.

constructor (nullable IEqualityComparer<T>) UIKit for Mac

Constructor with non default equality comparer.

 

constructor(aComparer: nullable IEqualityComparer<T>)

 

Dictionary<T,U>(IEqualityComparer<T>? aComparer)

 

init(_ aComparer: IEqualityComparer<T>?)

 

Dictionary<T,U>(IEqualityComparer<T> aComparer)

 

Sub New(aComparer As IEqualityComparer<T>?)

Parameters:

  • aComparer: The comparer to use.

Add (T, U) Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows

 

method Add(Key: T; Value: U)

 

void Add(T Key, U Value)

 

func Add(_ Key: T, _ Value: U)

 

void Add(T Key, U Value)

 

Sub Add(Key As T, Value As U)

Parameters:

  • Key:
  • Value:

Add (T, U) UIKit for Mac

Adds an item to the dictionary; Fails if Key is already present.

 

method Add(Key: T; Value: U)

 

Add(T Key, U Value)

 

func Add(_ Key: T, _ Value: U)

 

Add(T Key, U Value)

 

Sub Add(Key As T, Value As U)

Parameters:

  • Key: The key for this item
  • Value: The value for this item

Clear UIKit for Mac

Clears all items from this dictionary.

 

method Clear

 

Clear()

 

func Clear()

 

Clear()

 

Sub Clear()

ContainsKey    (declared in ImmutableDictionary<T,U>)

Returns true if this key is contained in this dictionary.

 

method ContainsKey(Key: T): Boolean

 

Boolean ContainsKey(T Key)

 

func ContainsKey(_ Key: T) -> Boolean

 

Boolean ContainsKey(T Key)

 

Function ContainsKey(Key As T) As Boolean

Parameters:

  • Key:

ContainsValue    (declared in ImmutableDictionary<T,U>)

Loops the dictionary and returns true if this value is contained in this dictionary.

 

method ContainsValue(Value: U): Boolean

 

Boolean ContainsValue(U Value)

 

func ContainsValue(_ Value: U) -> Boolean

 

Boolean ContainsValue(U Value)

 

Function ContainsValue(Value As U) As Boolean

Parameters:

  • Value:

Equals (Object): Boolean  virtual    (declared in Object) Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows

 

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:

Equals (Object): Boolean  virtual    (declared in Object) UIKit for Mac

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

 

method Equals(obj: Object): Boolean

 

Boolean Equals(Object obj)

 

func Equals(_ obj: Object) -> Boolean

 

Boolean Equals(Object obj)

 

Function Equals(obj As Object) As Boolean

Parameters:

  • obj: the reference to compare this with.

Finalize  protected virtual    (declared in Object) UIKit for Mac

Finalizer implementation. If not overriden it's not called at all, the runtime checks if there is an override before calling a finalizer.

 

method Finalize

 

Finalize()

 

func Finalize()

 

Finalize()

 

Sub Finalize()

ForEach (Action<RemObjects.Elements.System.KeyValuePair<T,U>>)    (declared in ImmutableDictionary<T,U>) Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows

 

method ForEach(Action: Action<RemObjects.Elements.System.KeyValuePair<T,U>>)

 

void ForEach(Action<RemObjects.Elements.System.KeyValuePair<T,U>> Action)

 

func ForEach(_ Action: Action<RemObjects.Elements.System.KeyValuePair<T,U>>)

 

void ForEach(Action<RemObjects.Elements.System.KeyValuePair<T,U>> Action)

 

Sub ForEach(Action As Action<RemObjects.Elements.System.KeyValuePair<T,U>>)

Parameters:

  • Action:

ForEach (Action<KeyValuePair<T,U>>)    (declared in ImmutableDictionary<T,U>) UIKit for Mac

Loops the dictionary, triggering the action for each element.

 

method ForEach(Action: Action<KeyValuePair<T,U>>)

 

ForEach(Action<KeyValuePair<T,U>> Action)

 

func ForEach(_ Action: Action<KeyValuePair<T,U>>)

 

ForEach(Action<KeyValuePair<T,U>> Action)

 

Sub ForEach(Action As Action<KeyValuePair<T,U>>)

Parameters:

  • Action:

GetEnumerator  virtual    (declared in ImmutableDictionary<T,U>)

Iterator.

 

// UIKit for Mac
method GetEnumerator: IEnumerator<KeyValuePair<T,U>>
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
method GetEnumerator: IEnumerator<RemObjects.Elements.System.KeyValuePair<T,U>>

 

// UIKit for Mac
IEnumerator<KeyValuePair<T,U>> GetEnumerator()
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
IEnumerator<RemObjects.Elements.System.KeyValuePair<T,U>> GetEnumerator()

 

// UIKit for Mac
func GetEnumerator() -> IEnumerator<KeyValuePair<T,U>>
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
func GetEnumerator() -> IEnumerator<RemObjects.Elements.System.KeyValuePair<T,U>>

 

// UIKit for Mac
IEnumerator<KeyValuePair<T,U>> GetEnumerator()
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
IEnumerator<RemObjects.Elements.System.KeyValuePair<T,U>> GetEnumerator()

 

// UIKit for Mac
Function GetEnumerator() As IEnumerator<KeyValuePair<T,U>>
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
Function GetEnumerator() As IEnumerator<RemObjects.Elements.System.KeyValuePair<T,U>>

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

GetSequence    (declared in ImmutableDictionary<T,U>)

Iterator.

 

// UIKit for Mac
method GetSequence: IEnumerable<KeyValuePair<T,U>>
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
method GetSequence: IEnumerable<RemObjects.Elements.System.KeyValuePair<T,U>>

 

// UIKit for Mac
IEnumerable<KeyValuePair<T,U>> GetSequence()
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
IEnumerable<RemObjects.Elements.System.KeyValuePair<T,U>> GetSequence()

 

// UIKit for Mac
func GetSequence() -> IEnumerable<KeyValuePair<T,U>>
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
func GetSequence() -> IEnumerable<RemObjects.Elements.System.KeyValuePair<T,U>>

 

// UIKit for Mac
IEnumerable<KeyValuePair<T,U>> GetSequence()
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
IEnumerable<RemObjects.Elements.System.KeyValuePair<T,U>> GetSequence()

 

// UIKit for Mac
Function GetSequence() As IEnumerable<KeyValuePair<T,U>>
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
Function GetSequence() As IEnumerable<RemObjects.Elements.System.KeyValuePair<T,U>>

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

Remove

Removes an item from the dictionary, returns true if it was there.

 

method Remove(Key: T): Boolean

 

Boolean Remove(T Key)

 

func Remove(_ Key: T) -> Boolean

 

Boolean Remove(T Key)

 

Function Remove(Key As T) As Boolean

Parameters:

  • Key: The key to remove.

ToNSDictionary    (declared in ImmutableDictionary<T,U>) iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, UIKit for Mac, watchOS, watchOS Simulator

Converts a dictionary to NSDictionary.

 

method ToNSDictionary: NSDictionary<T, U>

 

NSDictionary<T, U> ToNSDictionary()

 

func ToNSDictionary() -> NSDictionary<T, U>

 

NSDictionary<T, U> ToNSDictionary()

 

Function ToNSDictionary() As NSDictionary<T, U>

ToNSMutableDictionary    (declared in ImmutableDictionary<T,U>) iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, UIKit for Mac, watchOS, watchOS Simulator

Converts a dictionary to NSMutableDictionary.

 

method ToNSMutableDictionary: NSMutableDictionary<T, U>

 

NSMutableDictionary<T, U> ToNSMutableDictionary()

 

func ToNSMutableDictionary() -> NSMutableDictionary<T, U>

 

NSMutableDictionary<T, U> ToNSMutableDictionary()

 

Function ToNSMutableDictionary() As NSMutableDictionary<T, U>

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

TryGetValue    (declared in ImmutableDictionary<T,U>)

Gets a value from the dictionary by key, or returns false if it's not in the dictionary.

 

method TryGetValue(aKey: T; out aValue: U): Boolean

 

Boolean TryGetValue(T aKey, out U aValue)

 

func TryGetValue(_ aKey: T, _ aValue: U) -> Boolean

 

Boolean TryGetValue(T aKey, __out U aValue)

 

Function TryGetValue(aKey As T, <OutAttribute> ByRef aValue As U) As Boolean

Parameters:

  • aKey:
  • aValue: