共用方式為


HKCdaDocumentSample.Create 方法

定義

多載

Create(NSData, NSDate, NSDate, NSDictionary, NSError)

使用指定的值建立新 HKCdaDocumentSample

Create(NSData, NSDate, NSDate, HKMetadata, NSError)

使用指定的值建立新 HKCdaDocumentSample

Create(NSData, NSDate, NSDate, NSDictionary, NSError)

使用指定的值建立新 HKCdaDocumentSample

[Foundation.Export("CDADocumentSampleWithData:startDate:endDate:metadata:validationError:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static HealthKit.HKCdaDocumentSample Create (Foundation.NSData documentData, Foundation.NSDate startDate, Foundation.NSDate endDate, Foundation.NSDictionary metadata, out Foundation.NSError validationError);
static member Create : Foundation.NSData * Foundation.NSDate * Foundation.NSDate * Foundation.NSDictionary *  -> HealthKit.HKCdaDocumentSample

參數

documentData
NSData
startDate
NSDate
endDate
NSDate
metadata
NSDictionary

即將加入。

這個參數可以是 null

validationError
NSError

傳回

屬性

適用於

Create(NSData, NSDate, NSDate, HKMetadata, NSError)

使用指定的值建立新 HKCdaDocumentSample

public static HealthKit.HKCdaDocumentSample Create (Foundation.NSData documentData, Foundation.NSDate startDate, Foundation.NSDate endDate, HealthKit.HKMetadata metadata, out Foundation.NSError validationError);
static member Create : Foundation.NSData * Foundation.NSDate * Foundation.NSDate * HealthKit.HKMetadata *  -> HealthKit.HKCdaDocumentSample

參數

documentData
NSData
startDate
NSDate
endDate
NSDate
metadata
HKMetadata
validationError
NSError

傳回

適用於