共用方式為


NSDictionary.ObjectForKey(NSObject) 方法

定義

對應至指定索引鍵或 Null 的物件。

[Foundation.Export("objectForKey:")]
public virtual Foundation.NSObject ObjectForKey (Foundation.NSObject key);
abstract member ObjectForKey : Foundation.NSObject -> Foundation.NSObject
override this.ObjectForKey : Foundation.NSObject -> Foundation.NSObject

參數

key
NSObject

傳回

屬性

適用於