NSValue.FromCMTimeRange(CMTimeRange) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建包装 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
返回
- 属性