NSValue.FromCMTime(CMTime) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立會包裝 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
傳回
- 屬性