Array<T>

Overview

Generic class for all arrays for a given T. This is the real class used when using an array in Elements.

Location

Implements

 

constructor    (declared in Object) UIKit for Mac

Default constructor.

 

constructor

 

Array<T>()

 

init()

 

Array<T>()

 

Sub New()

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

 

method Add(val: Object)

 

void Add(Object val)

 

func Add(_ val: Object)

 

void Add(Object val)

 

Sub Add(val As Object)

Parameters:

  • val:

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

 

method Add(val: T)

 

void Add(T val)

 

func Add(_ val: T)

 

void Add(T val)

 

Sub Add(val As T)

Parameters:

  • val:

Add (Object) UIKit for Mac

Implementation of IList.Add, this throws a NotSupportedException as the size of an array cannot be changed.

 

method Add(val: Object)

 

Add(Object val)

 

func Add(_ val: Object)

 

Add(Object val)

 

Sub Add(val As Object)

Parameters:

  • val:

Add (T) UIKit for Mac

Implementation of IList.Add, this throws a NotSupportedException as the size of an array cannot be changed.

 

method Add(val: T)

 

Add(T val)

 

func Add(_ val: T)

 

Add(T val)

 

Sub Add(val As T)

Parameters:

  • val:

BinarySearch<T,V>    (declared in Array)

Searches for a value of type V inside the array. Based on the passed Comparer. This presumes the array is already sorted based on the comparer passed.

 

// UIKit for Mac
class method BinarySearch<T,V>(aVal: array of T; aInput: V; aComparer: Func<T,V,Int32>): Int32
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
class method BinarySearch<T,V>(aVal: array of T; aInput: V; aComparer: Func<T,V,RemObjects.Elements.System.Int32>): Int32

 

// UIKit for Mac
static Int32 BinarySearch<T,V>(T[] aVal, V aInput, Func<T,V,Int32> aComparer)
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
static Int32 BinarySearch<T,V>(T[] aVal, V aInput, Func<T,V,RemObjects.Elements.System.Int32> aComparer)

 

// UIKit for Mac
static func BinarySearch<T,V>(_ aVal: T..., _ aInput: V, _ aComparer: Func<T,V,Int32>) -> Int32
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
static func BinarySearch<T,V>(_ aVal: T..., _ aInput: V, _ aComparer: Func<T,V,RemObjects.Elements.System.Int32>) -> Int32

 

// UIKit for Mac
static Int32 BinarySearch<T,V>(T[] aVal, V aInput, Func<T,V,Int32> aComparer)
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
static Int32 BinarySearch<T,V>(T[] aVal, V aInput, Func<T,V,RemObjects.Elements.System.Int32> aComparer)

 

// UIKit for Mac
Shared Function BinarySearch<T,V>(aVal As T(), aInput As V, aComparer As Func<T,V,Int32>) As Int32
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
Shared Function BinarySearch<T,V>(aVal As T(), aInput As V, aComparer As Func<T,V,RemObjects.Elements.System.Int32>) As Int32

Parameters:

  • aVal:
  • aInput:
  • aComparer:

Clear UIKit for Mac

Implementation of IList.Clear, this throws a NotSupportedException as the size of an array cannot be changed.

 

method Clear

 

Clear()

 

func Clear()

 

Clear()

 

Sub Clear()

Clear<T> (array of T, Int32, Int32)    (declared in Array) Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows

 

class method Clear<T>(aVal: array of T; Index: Int32; Length: Int32)

 

static void Clear<T>(T[] aVal, Int32 Index, Int32 Length)

 

static func Clear<T>(_ aVal: T..., _ Index: Int32, _ Length: Int32)

 

static void Clear<T>(T[] aVal, Int32 Index, Int32 Length)

 

Shared Sub Clear<T>(aVal As T(), Index As Int32, Length As Int32)

Parameters:

  • aVal:
  • Index:
  • Length:

Clear<T> (array of T, Int32, Int32)    (declared in Array) UIKit for Mac

 

class method Clear<T>(aVal: array of T; Index: Int32; Length: Int32)

 

static  Clear<T>(T[] aVal, Int32 Index, Int32 Length)

 

static func Clear<T>(_ aVal: T..., _ Index: Int32, _ Length: Int32)

 

static  Clear<T>(T[] aVal, Int32 Index, Int32 Length)

 

Shared Sub Clear<T>(aVal As T(), Index As Int32, Length As Int32)

Parameters:

  • aVal:
  • Index:
  • Length:

Contains (Object): Boolean

Returns true if this list contains val, using the default equality comparer.

 

method Contains(val: Object): Boolean

 

Boolean Contains(Object val)

 

func Contains(_ val: Object) -> Boolean

 

Boolean Contains(Object val)

 

Function Contains(val As Object) As Boolean

Parameters:

  • val:

Contains (T): Boolean

Returns true if this list contains val, using the default equality comparer.

 

method Contains(val: T): Boolean

 

Boolean Contains(T val)

 

func Contains(_ val: T) -> Boolean

 

Boolean Contains(T val)

 

Function Contains(val As T) As Boolean

Parameters:

  • val:

Copy<T> (^T, array of T, Int32, Int32)    (declared in Array) UIKit for Mac

Static method copy between two arrays.

 

class method Copy<T>(aSource: ^T; aDest: array of T; aDestOffset: Int32; aCount: Int32)

 

static  Copy<T>(T* aSource, T[] aDest, Int32 aDestOffset, Int32 aCount)

 

static func Copy<T>(_ aSource: UnsafeMutablePointer<T>, _ aDest: T..., _ aDestOffset: Int32, _ aCount: Int32)

 

static  Copy<T>(T* aSource, T[] aDest, Int32 aDestOffset, Int32 aCount)

 

Shared Sub Copy<T>(aSource As Ptr(Of T), aDest As T(), aDestOffset As Int32, aCount As Int32)

Parameters:

  • aSource: The source array
  • aDest: The destination array
  • aDestOffset: The destination offset to copy the array to.
  • aCount: The number of elements to copy

Copy<T> (^T, array of T, Int32, Int32)    (declared in Array) Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows

 

class method Copy<T>(aSource: ^T; aDest: array of T; aDestOffset: Int32; aCount: Int32)

 

static void Copy<T>(T* aSource, T[] aDest, Int32 aDestOffset, Int32 aCount)

 

static func Copy<T>(_ aSource: UnsafeMutablePointer<T>, _ aDest: T..., _ aDestOffset: Int32, _ aCount: Int32)

 

static void Copy<T>(T* aSource, T[] aDest, Int32 aDestOffset, Int32 aCount)

 

Shared Sub Copy<T>(aSource As Ptr(Of T), aDest As T(), aDestOffset As Int32, aCount As Int32)

Parameters:

  • aSource:
  • aDest:
  • aDestOffset:
  • aCount:

Copy<T> (array of T, array of T, Int32)    (declared in Array) Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows

 

class method Copy<T>(aSource: array of T; aDest: array of T; aCount: Int32)

 

static void Copy<T>(T[] aSource, T[] aDest, Int32 aCount)

 

static func Copy<T>(_ aSource: T..., _ aDest: T..., _ aCount: Int32)

 

static void Copy<T>(T[] aSource, T[] aDest, Int32 aCount)

 

Shared Sub Copy<T>(aSource As T(), aDest As T(), aCount As Int32)

Parameters:

  • aSource:
  • aDest:
  • aCount:

Copy<T> (array of T, Int32, array of T, Int32, Int32)    (declared in Array) Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows

 

class method Copy<T>(aSource: array of T; aSourceOffset: Int32; aDest: array of T; aDestOffset: Int32; aCount: Int32)

 

static void Copy<T>(T[] aSource, Int32 aSourceOffset, T[] aDest, Int32 aDestOffset, Int32 aCount)

 

static func Copy<T>(_ aSource: T..., _ aSourceOffset: Int32, _ aDest: T..., _ aDestOffset: Int32, _ aCount: Int32)

 

static void Copy<T>(T[] aSource, Int32 aSourceOffset, T[] aDest, Int32 aDestOffset, Int32 aCount)

 

Shared Sub Copy<T>(aSource As T(), aSourceOffset As Int32, aDest As T(), aDestOffset As Int32, aCount As Int32)

Parameters:

  • aSource:
  • aSourceOffset:
  • aDest:
  • aDestOffset:
  • aCount:

Copy<T> (array of T, array of T, Int32)    (declared in Array) UIKit for Mac

Static method copy between two arrays.

 

class method Copy<T>(aSource: array of T; aDest: array of T; aCount: Int32)

 

static  Copy<T>(T[] aSource, T[] aDest, Int32 aCount)

 

static func Copy<T>(_ aSource: T..., _ aDest: T..., _ aCount: Int32)

 

static  Copy<T>(T[] aSource, T[] aDest, Int32 aCount)

 

Shared Sub Copy<T>(aSource As T(), aDest As T(), aCount As Int32)

Parameters:

  • aSource: The source array
  • aDest: The destination array
  • aCount: The number of elements to copy

Copy<T> (array of T, Int32, array of T, Int32, Int32)    (declared in Array) UIKit for Mac

Static method copy between two arrays.

 

class method Copy<T>(aSource: array of T; aSourceOffset: Int32; aDest: array of T; aDestOffset: Int32; aCount: Int32)

 

static  Copy<T>(T[] aSource, Int32 aSourceOffset, T[] aDest, Int32 aDestOffset, Int32 aCount)

 

static func Copy<T>(_ aSource: T..., _ aSourceOffset: Int32, _ aDest: T..., _ aDestOffset: Int32, _ aCount: Int32)

 

static  Copy<T>(T[] aSource, Int32 aSourceOffset, T[] aDest, Int32 aDestOffset, Int32 aCount)

 

Shared Sub Copy<T>(aSource As T(), aSourceOffset As Int32, aDest As T(), aDestOffset As Int32, aCount As Int32)

Parameters:

  • aSource: The source array
  • aSourceOffset: The source offset in the array.
  • aDest: The destination array
  • aDestOffset: The destination offset to copy the array to.
  • aCount: The number of elements to copy

Count  virtual

Returns the number of elements in this Array.

 

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()

Get  override virtual

Returns the value at index I.

 

method Get(i: Int32): Object

 

Object Get(Int32 i)

 

func Get(_ i: Int32) -> Object

 

Object Get(Int32 i)

 

Function Get(i As Int32) As Object

Parameters:

  • i:

GetEnumerator

Returns an enumerator that iterates all elements in this array.

 

method GetEnumerator: IEnumerator<T>

 

IEnumerator<T> GetEnumerator()

 

func GetEnumerator() -> IEnumerator<T>

 

IEnumerator<T> GetEnumerator()

 

Function GetEnumerator() As IEnumerator<T>

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

Item  virtual

Accessor property

 

property Item[I: Int32]: T read write;

 

T Item[Int32 I] { get; set; }

 

subscript Item(_ I: Int32) -> T { get{} set{} }

 

T Item[Int32 I] { __get; __set; }

 

Property Item(I As Int32) As T

Length    (declared in Array)

Contains the length of this array.

 

property Length: Int32 read;

 

Int32 Length { get; }

 

var Length: Int32 { get{} }

 

Int32 Length { __get; }

 

ReadOnly Property Length() 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

Remove (Object): Boolean

Implementation of IList.Remove, this throws a NotSupportedException as the size of an array cannot be changed.

 

method Remove(val: Object): Boolean

 

Boolean Remove(Object val)

 

func Remove(_ val: Object) -> Boolean

 

Boolean Remove(Object val)

 

Function Remove(val As Object) As Boolean

Parameters:

  • val:

Remove (T): Boolean

Implementation of IList.Remove, this throws a NotSupportedException as the size of an array cannot be changed.

 

method Remove(val: T): Boolean

 

Boolean Remove(T val)

 

func Remove(_ val: T) -> Boolean

 

Boolean Remove(T val)

 

Function Remove(val As T) As Boolean

Parameters:

  • val:

Set (Int32, Object)  override virtual Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows

 

method Set(i: Int32; v: Object)

 

void Set(Int32 i, Object v)

 

func Set(_ i: Int32, _ v: Object)

 

void Set(Int32 i, Object v)

 

Sub Set(i As Int32, v As Object)

Parameters:

  • i:
  • v:

Set (Int32, Object)  override virtual UIKit for Mac

Changes the value of the array at index I.

 

method Set(i: Int32; v: Object)

 

Set(Int32 i, Object v)

 

func Set(_ i: Int32, _ v: Object)

 

Set(Int32 i, Object v)

 

Sub Set(i As Int32, v As Object)

Parameters:

  • i:
  • v:

Sort<T> (array of T, Comparison<T>)    (declared in Array) Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows

 

class method Sort<T>(aVal: array of T; Comparison: Comparison<T>)

 

static void Sort<T>(T[] aVal, Comparison<T> Comparison)

 

static func Sort<T>(_ aVal: T..., _ Comparison: Comparison<T>)

 

static void Sort<T>(T[] aVal, Comparison<T> Comparison)

 

Shared Sub Sort<T>(aVal As T(), Comparison As Comparison<T>)

Parameters:

  • aVal:
  • Comparison:

Sort<T> (array of T, Int32, Int32, Comparison<T>)    (declared in Array) Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows

 

class method Sort<T>(aVal: array of T; L: Int32; R: Int32; Comparison: Comparison<T>)

 

static void Sort<T>(T[] aVal, Int32 L, Int32 R, Comparison<T> Comparison)

 

static func Sort<T>(_ aVal: T..., _ L: Int32, _ R: Int32, _ Comparison: Comparison<T>)

 

static void Sort<T>(T[] aVal, Int32 L, Int32 R, Comparison<T> Comparison)

 

Shared Sub Sort<T>(aVal As T(), L As Int32, R As Int32, Comparison As Comparison<T>)

Parameters:

  • aVal:
  • L:
  • R:
  • Comparison:

Sort<T> (array of T, Comparison<T>)    (declared in Array) UIKit for Mac

Sort an array using the quicksort algorithm.

 

class method Sort<T>(aVal: array of T; Comparison: Comparison<T>)

 

static  Sort<T>(T[] aVal, Comparison<T> Comparison)

 

static func Sort<T>(_ aVal: T..., _ Comparison: Comparison<T>)

 

static  Sort<T>(T[] aVal, Comparison<T> Comparison)

 

Shared Sub Sort<T>(aVal As T(), Comparison As Comparison<T>)

Parameters:

  • aVal:
  • Comparison:

Sort<T> (array of T, Int32, Int32, Comparison<T>)    (declared in Array) UIKit for Mac

Sort an array using the quicksort algorithm.

 

class method Sort<T>(aVal: array of T; L: Int32; R: Int32; Comparison: Comparison<T>)

 

static  Sort<T>(T[] aVal, Int32 L, Int32 R, Comparison<T> Comparison)

 

static func Sort<T>(_ aVal: T..., _ L: Int32, _ R: Int32, _ Comparison: Comparison<T>)

 

static  Sort<T>(T[] aVal, Int32 L, Int32 R, Comparison<T> Comparison)

 

Shared Sub Sort<T>(aVal As T(), L As Int32, R As Int32, Comparison As Comparison<T>)

Parameters:

  • aVal:
  • L:
  • R:
  • Comparison:

SubArray (Range): array of T

 

method SubArray(aRange: Range): array of T

 

T[] SubArray(Range aRange)

 

func SubArray(_ aRange: Range) -> T...

 

T[] SubArray(Range aRange)

 

Function SubArray(aRange As Range) As T()

Parameters:

  • aRange:

SubArray (Int32, Int32): array of T

 

method SubArray(aStart: Int32; aCount: Int32): array of T

 

T[] SubArray(Int32 aStart, Int32 aCount)

 

func SubArray(_ aStart: Int32, _ aCount: Int32) -> T...

 

T[] SubArray(Int32 aStart, Int32 aCount)

 

Function SubArray(aStart As Int32, aCount As Int32) As T()

Parameters:

  • aStart:
  • aCount:

SubArray<T>    (declared in Array)

 

class method SubArray<T>(aSource: array of T; aStart: Int32; aCount: Int32): array of T

 

static T[] SubArray<T>(T[] aSource, Int32 aStart, Int32 aCount)

 

static func SubArray<T>(_ aSource: T..., _ aStart: Int32, _ aCount: Int32) -> T...

 

static T[] SubArray<T>(T[] aSource, Int32 aStart, Int32 aCount)

 

Shared Function SubArray<T>(aSource As T(), aStart As Int32, aCount As Int32) As T()

Parameters:

  • aSource:
  • aStart:
  • aCount:

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

 

Count  virtual

Returns the number of elements in this Array.

 

property Count: Int32 read;

 

Int32 Count { get; }

 

var Count: Int32 { get{} }

 

Int32 Count { __get; }

 

ReadOnly Property Count() As Int32

Item  virtual

Accessor property

 

property Item[I: Int32]: T read write;

 

T Item[Int32 I] { get; set; }

 

subscript Item(_ I: Int32) -> T { get{} set{} }

 

T Item[Int32 I] { __get; __set; }

 

Property Item(I As Int32) As T

Length    (declared in Array)

Contains the length of this array.

 

property Length: Int32 read;

 

Int32 Length { get; }

 

var Length: Int32 { get{} }

 

Int32 Length { __get; }

 

ReadOnly Property Length() As Int32

 

BinarySearch<T,V>    (declared in Array)

Searches for a value of type V inside the array. Based on the passed Comparer. This presumes the array is already sorted based on the comparer passed.

 

// UIKit for Mac
class method BinarySearch<T,V>(aVal: array of T; aInput: V; aComparer: Func<T,V,Int32>): Int32
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
class method BinarySearch<T,V>(aVal: array of T; aInput: V; aComparer: Func<T,V,RemObjects.Elements.System.Int32>): Int32

 

// UIKit for Mac
static Int32 BinarySearch<T,V>(T[] aVal, V aInput, Func<T,V,Int32> aComparer)
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
static Int32 BinarySearch<T,V>(T[] aVal, V aInput, Func<T,V,RemObjects.Elements.System.Int32> aComparer)

 

// UIKit for Mac
static func BinarySearch<T,V>(_ aVal: T..., _ aInput: V, _ aComparer: Func<T,V,Int32>) -> Int32
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
static func BinarySearch<T,V>(_ aVal: T..., _ aInput: V, _ aComparer: Func<T,V,RemObjects.Elements.System.Int32>) -> Int32

 

// UIKit for Mac
static Int32 BinarySearch<T,V>(T[] aVal, V aInput, Func<T,V,Int32> aComparer)
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
static Int32 BinarySearch<T,V>(T[] aVal, V aInput, Func<T,V,RemObjects.Elements.System.Int32> aComparer)

 

// UIKit for Mac
Shared Function BinarySearch<T,V>(aVal As T(), aInput As V, aComparer As Func<T,V,Int32>) As Int32
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
Shared Function BinarySearch<T,V>(aVal As T(), aInput As V, aComparer As Func<T,V,RemObjects.Elements.System.Int32>) As Int32

Parameters:

  • aVal:
  • aInput:
  • aComparer:

Clear<T> (array of T, Int32, Int32)    (declared in Array) Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows

 

class method Clear<T>(aVal: array of T; Index: Int32; Length: Int32)

 

static void Clear<T>(T[] aVal, Int32 Index, Int32 Length)

 

static func Clear<T>(_ aVal: T..., _ Index: Int32, _ Length: Int32)

 

static void Clear<T>(T[] aVal, Int32 Index, Int32 Length)

 

Shared Sub Clear<T>(aVal As T(), Index As Int32, Length As Int32)

Parameters:

  • aVal:
  • Index:
  • Length:

Clear<T> (array of T, Int32, Int32)    (declared in Array) UIKit for Mac

 

class method Clear<T>(aVal: array of T; Index: Int32; Length: Int32)

 

static  Clear<T>(T[] aVal, Int32 Index, Int32 Length)

 

static func Clear<T>(_ aVal: T..., _ Index: Int32, _ Length: Int32)

 

static  Clear<T>(T[] aVal, Int32 Index, Int32 Length)

 

Shared Sub Clear<T>(aVal As T(), Index As Int32, Length As Int32)

Parameters:

  • aVal:
  • Index:
  • Length:

Copy<T> (^T, array of T, Int32, Int32)    (declared in Array) UIKit for Mac

Static method copy between two arrays.

 

class method Copy<T>(aSource: ^T; aDest: array of T; aDestOffset: Int32; aCount: Int32)

 

static  Copy<T>(T* aSource, T[] aDest, Int32 aDestOffset, Int32 aCount)

 

static func Copy<T>(_ aSource: UnsafeMutablePointer<T>, _ aDest: T..., _ aDestOffset: Int32, _ aCount: Int32)

 

static  Copy<T>(T* aSource, T[] aDest, Int32 aDestOffset, Int32 aCount)

 

Shared Sub Copy<T>(aSource As Ptr(Of T), aDest As T(), aDestOffset As Int32, aCount As Int32)

Parameters:

  • aSource: The source array
  • aDest: The destination array
  • aDestOffset: The destination offset to copy the array to.
  • aCount: The number of elements to copy

Copy<T> (^T, array of T, Int32, Int32)    (declared in Array) Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows

 

class method Copy<T>(aSource: ^T; aDest: array of T; aDestOffset: Int32; aCount: Int32)

 

static void Copy<T>(T* aSource, T[] aDest, Int32 aDestOffset, Int32 aCount)

 

static func Copy<T>(_ aSource: UnsafeMutablePointer<T>, _ aDest: T..., _ aDestOffset: Int32, _ aCount: Int32)

 

static void Copy<T>(T* aSource, T[] aDest, Int32 aDestOffset, Int32 aCount)

 

Shared Sub Copy<T>(aSource As Ptr(Of T), aDest As T(), aDestOffset As Int32, aCount As Int32)

Parameters:

  • aSource:
  • aDest:
  • aDestOffset:
  • aCount:

Copy<T> (array of T, array of T, Int32)    (declared in Array) Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows

 

class method Copy<T>(aSource: array of T; aDest: array of T; aCount: Int32)

 

static void Copy<T>(T[] aSource, T[] aDest, Int32 aCount)

 

static func Copy<T>(_ aSource: T..., _ aDest: T..., _ aCount: Int32)

 

static void Copy<T>(T[] aSource, T[] aDest, Int32 aCount)

 

Shared Sub Copy<T>(aSource As T(), aDest As T(), aCount As Int32)

Parameters:

  • aSource:
  • aDest:
  • aCount:

Copy<T> (array of T, Int32, array of T, Int32, Int32)    (declared in Array) Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows

 

class method Copy<T>(aSource: array of T; aSourceOffset: Int32; aDest: array of T; aDestOffset: Int32; aCount: Int32)

 

static void Copy<T>(T[] aSource, Int32 aSourceOffset, T[] aDest, Int32 aDestOffset, Int32 aCount)

 

static func Copy<T>(_ aSource: T..., _ aSourceOffset: Int32, _ aDest: T..., _ aDestOffset: Int32, _ aCount: Int32)

 

static void Copy<T>(T[] aSource, Int32 aSourceOffset, T[] aDest, Int32 aDestOffset, Int32 aCount)

 

Shared Sub Copy<T>(aSource As T(), aSourceOffset As Int32, aDest As T(), aDestOffset As Int32, aCount As Int32)

Parameters:

  • aSource:
  • aSourceOffset:
  • aDest:
  • aDestOffset:
  • aCount:

Copy<T> (array of T, array of T, Int32)    (declared in Array) UIKit for Mac

Static method copy between two arrays.

 

class method Copy<T>(aSource: array of T; aDest: array of T; aCount: Int32)

 

static  Copy<T>(T[] aSource, T[] aDest, Int32 aCount)

 

static func Copy<T>(_ aSource: T..., _ aDest: T..., _ aCount: Int32)

 

static  Copy<T>(T[] aSource, T[] aDest, Int32 aCount)

 

Shared Sub Copy<T>(aSource As T(), aDest As T(), aCount As Int32)

Parameters:

  • aSource: The source array
  • aDest: The destination array
  • aCount: The number of elements to copy

Copy<T> (array of T, Int32, array of T, Int32, Int32)    (declared in Array) UIKit for Mac

Static method copy between two arrays.

 

class method Copy<T>(aSource: array of T; aSourceOffset: Int32; aDest: array of T; aDestOffset: Int32; aCount: Int32)

 

static  Copy<T>(T[] aSource, Int32 aSourceOffset, T[] aDest, Int32 aDestOffset, Int32 aCount)

 

static func Copy<T>(_ aSource: T..., _ aSourceOffset: Int32, _ aDest: T..., _ aDestOffset: Int32, _ aCount: Int32)

 

static  Copy<T>(T[] aSource, Int32 aSourceOffset, T[] aDest, Int32 aDestOffset, Int32 aCount)

 

Shared Sub Copy<T>(aSource As T(), aSourceOffset As Int32, aDest As T(), aDestOffset As Int32, aCount As Int32)

Parameters:

  • aSource: The source array
  • aSourceOffset: The source offset in the array.
  • aDest: The destination array
  • aDestOffset: The destination offset to copy the array to.
  • aCount: The number of elements to copy

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

Sort<T> (array of T, Comparison<T>)    (declared in Array) Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows

 

class method Sort<T>(aVal: array of T; Comparison: Comparison<T>)

 

static void Sort<T>(T[] aVal, Comparison<T> Comparison)

 

static func Sort<T>(_ aVal: T..., _ Comparison: Comparison<T>)

 

static void Sort<T>(T[] aVal, Comparison<T> Comparison)

 

Shared Sub Sort<T>(aVal As T(), Comparison As Comparison<T>)

Parameters:

  • aVal:
  • Comparison:

Sort<T> (array of T, Int32, Int32, Comparison<T>)    (declared in Array) Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows

 

class method Sort<T>(aVal: array of T; L: Int32; R: Int32; Comparison: Comparison<T>)

 

static void Sort<T>(T[] aVal, Int32 L, Int32 R, Comparison<T> Comparison)

 

static func Sort<T>(_ aVal: T..., _ L: Int32, _ R: Int32, _ Comparison: Comparison<T>)

 

static void Sort<T>(T[] aVal, Int32 L, Int32 R, Comparison<T> Comparison)

 

Shared Sub Sort<T>(aVal As T(), L As Int32, R As Int32, Comparison As Comparison<T>)

Parameters:

  • aVal:
  • L:
  • R:
  • Comparison:

Sort<T> (array of T, Comparison<T>)    (declared in Array) UIKit for Mac

Sort an array using the quicksort algorithm.

 

class method Sort<T>(aVal: array of T; Comparison: Comparison<T>)

 

static  Sort<T>(T[] aVal, Comparison<T> Comparison)

 

static func Sort<T>(_ aVal: T..., _ Comparison: Comparison<T>)

 

static  Sort<T>(T[] aVal, Comparison<T> Comparison)

 

Shared Sub Sort<T>(aVal As T(), Comparison As Comparison<T>)

Parameters:

  • aVal:
  • Comparison:

Sort<T> (array of T, Int32, Int32, Comparison<T>)    (declared in Array) UIKit for Mac

Sort an array using the quicksort algorithm.

 

class method Sort<T>(aVal: array of T; L: Int32; R: Int32; Comparison: Comparison<T>)

 

static  Sort<T>(T[] aVal, Int32 L, Int32 R, Comparison<T> Comparison)

 

static func Sort<T>(_ aVal: T..., _ L: Int32, _ R: Int32, _ Comparison: Comparison<T>)

 

static  Sort<T>(T[] aVal, Int32 L, Int32 R, Comparison<T> Comparison)

 

Shared Sub Sort<T>(aVal As T(), L As Int32, R As Int32, Comparison As Comparison<T>)

Parameters:

  • aVal:
  • L:
  • R:
  • Comparison:

SubArray<T>    (declared in Array)

 

class method SubArray<T>(aSource: array of T; aStart: Int32; aCount: Int32): array of T

 

static T[] SubArray<T>(T[] aSource, Int32 aStart, Int32 aCount)

 

static func SubArray<T>(_ aSource: T..., _ aStart: Int32, _ aCount: Int32) -> T...

 

static T[] SubArray<T>(T[] aSource, Int32 aStart, Int32 aCount)

 

Shared Function SubArray<T>(aSource As T(), aStart As Int32, aCount As Int32) As T()

Parameters:

  • aSource:
  • aStart:
  • aCount:

 

constructor    (declared in Object) UIKit for Mac

Default constructor.

 

constructor

 

Array<T>()

 

init()

 

Array<T>()

 

Sub New()

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

 

method Add(val: Object)

 

void Add(Object val)

 

func Add(_ val: Object)

 

void Add(Object val)

 

Sub Add(val As Object)

Parameters:

  • val:

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

 

method Add(val: T)

 

void Add(T val)

 

func Add(_ val: T)

 

void Add(T val)

 

Sub Add(val As T)

Parameters:

  • val:

Add (Object) UIKit for Mac

Implementation of IList.Add, this throws a NotSupportedException as the size of an array cannot be changed.

 

method Add(val: Object)

 

Add(Object val)

 

func Add(_ val: Object)

 

Add(Object val)

 

Sub Add(val As Object)

Parameters:

  • val:

Add (T) UIKit for Mac

Implementation of IList.Add, this throws a NotSupportedException as the size of an array cannot be changed.

 

method Add(val: T)

 

Add(T val)

 

func Add(_ val: T)

 

Add(T val)

 

Sub Add(val As T)

Parameters:

  • val:

Clear UIKit for Mac

Implementation of IList.Clear, this throws a NotSupportedException as the size of an array cannot be changed.

 

method Clear

 

Clear()

 

func Clear()

 

Clear()

 

Sub Clear()

Contains (Object): Boolean

Returns true if this list contains val, using the default equality comparer.

 

method Contains(val: Object): Boolean

 

Boolean Contains(Object val)

 

func Contains(_ val: Object) -> Boolean

 

Boolean Contains(Object val)

 

Function Contains(val As Object) As Boolean

Parameters:

  • val:

Contains (T): Boolean

Returns true if this list contains val, using the default equality comparer.

 

method Contains(val: T): Boolean

 

Boolean Contains(T val)

 

func Contains(_ val: T) -> Boolean

 

Boolean Contains(T val)

 

Function Contains(val As T) As Boolean

Parameters:

  • val:

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()

Get  override virtual

Returns the value at index I.

 

method Get(i: Int32): Object

 

Object Get(Int32 i)

 

func Get(_ i: Int32) -> Object

 

Object Get(Int32 i)

 

Function Get(i As Int32) As Object

Parameters:

  • i:

GetEnumerator

Returns an enumerator that iterates all elements in this array.

 

method GetEnumerator: IEnumerator<T>

 

IEnumerator<T> GetEnumerator()

 

func GetEnumerator() -> IEnumerator<T>

 

IEnumerator<T> GetEnumerator()

 

Function GetEnumerator() As IEnumerator<T>

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

Remove (Object): Boolean

Implementation of IList.Remove, this throws a NotSupportedException as the size of an array cannot be changed.

 

method Remove(val: Object): Boolean

 

Boolean Remove(Object val)

 

func Remove(_ val: Object) -> Boolean

 

Boolean Remove(Object val)

 

Function Remove(val As Object) As Boolean

Parameters:

  • val:

Remove (T): Boolean

Implementation of IList.Remove, this throws a NotSupportedException as the size of an array cannot be changed.

 

method Remove(val: T): Boolean

 

Boolean Remove(T val)

 

func Remove(_ val: T) -> Boolean

 

Boolean Remove(T val)

 

Function Remove(val As T) As Boolean

Parameters:

  • val:

Set (Int32, Object)  override virtual Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows

 

method Set(i: Int32; v: Object)

 

void Set(Int32 i, Object v)

 

func Set(_ i: Int32, _ v: Object)

 

void Set(Int32 i, Object v)

 

Sub Set(i As Int32, v As Object)

Parameters:

  • i:
  • v:

Set (Int32, Object)  override virtual UIKit for Mac

Changes the value of the array at index I.

 

method Set(i: Int32; v: Object)

 

Set(Int32 i, Object v)

 

func Set(_ i: Int32, _ v: Object)

 

Set(Int32 i, Object v)

 

Sub Set(i As Int32, v As Object)

Parameters:

  • i:
  • v:

SubArray (Range): array of T

 

method SubArray(aRange: Range): array of T

 

T[] SubArray(Range aRange)

 

func SubArray(_ aRange: Range) -> T...

 

T[] SubArray(Range aRange)

 

Function SubArray(aRange As Range) As T()

Parameters:

  • aRange:

SubArray (Int32, Int32): array of T

 

method SubArray(aStart: Int32; aCount: Int32): array of T

 

T[] SubArray(Int32 aStart, Int32 aCount)

 

func SubArray(_ aStart: Int32, _ aCount: Int32) -> T...

 

T[] SubArray(Int32 aStart, Int32 aCount)

 

Function SubArray(aStart As Int32, aCount As Int32) As T()

Parameters:

  • aStart:
  • aCount:

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