Table of Contents

Class NSDictionary

Namespace
CarinaStudio.MacOS.AppKit
Assembly
CarinaStudio.AppBase.MacOS.dll

NSDictionary.

public class NSDictionary : NSObject, IDisposable, IEquatable<NSObject>
Inheritance
NSDictionary
Implements
Inherited Members
Extension Methods

Properties

AllKeys

A new array containing the dictionary’s keys, or an empty array if the dictionary has no entries.

public NSArray<NSObject> AllKeys { get; }

Property Value

NSArray<NSObject>

AllObjects

A new array containing the dictionary’s values, or an empty array if the dictionary has no entries.

public NSArray<NSObject> AllObjects { get; }

Property Value

NSArray<NSObject>

Count

The number of entries in the dictionary.

public int Count { get; }

Property Value

int

Methods

GetCFObject<T>(NSObject)

Returns the value associated with a given key.

public T? GetCFObject<T>(NSObject aKey) where T : CFObject

Parameters

aKey NSObject

Returns

T

Type Parameters

T

GetKeyEnumerator()

Provides an enumerator to access the keys in the dictionary.

public NSEnumerator GetKeyEnumerator()

Returns

NSEnumerator

GetObjectEnumerator()

Returns an enumerator object that lets you access each value in the dictionary.

public NSEnumerator GetObjectEnumerator()

Returns

NSEnumerator

GetObject<T>(NSObject)

Returns the value associated with a given key.

public T? GetObject<T>(NSObject aKey) where T : NSObject

Parameters

aKey NSObject

Returns

T

Type Parameters

T