共用方式為


NSValue.FromCMTime(CMTime) 方法

定義

建立會包裝 CMTime 物件的 NSValue。

[Foundation.Export("valueWithCMTime:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSValue FromCMTime (CoreMedia.CMTime time);
[Foundation.Export("valueWithCMTime:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 7, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSValue FromCMTime (CoreMedia.CMTime time);
static member FromCMTime : CoreMedia.CMTime -> Foundation.NSValue

參數

time
CMTime

傳回

屬性

適用於