共用方式為


NSValue.FromCMTimeRange(CMTimeRange) 方法

定義

建立會包裝 CMTimeRange 物件的 NSValue。

[Foundation.Export("valueWithCMTimeRange:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSValue FromCMTimeRange (CoreMedia.CMTimeRange timeRange);
[Foundation.Export("valueWithCMTimeRange:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 7, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSValue FromCMTimeRange (CoreMedia.CMTimeRange timeRange);
static member FromCMTimeRange : CoreMedia.CMTimeRange -> Foundation.NSValue

參數

timeRange
CMTimeRange

傳回

屬性

適用於