共用方式為


MPMediaItemCollection.EnumerateValues(NSSet, MPMediaItemEnumerator) 方法

定義

[Foundation.Export("enumerateValuesForProperties:usingBlock:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, 2, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 5, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void EnumerateValues (Foundation.NSSet propertiesToEnumerate, MediaPlayer.MPMediaItemEnumerator enumerator);
override this.EnumerateValues : Foundation.NSSet * MediaPlayer.MPMediaItemEnumerator -> unit

參數

propertiesToEnumerate
NSSet
屬性

適用於