HKCdaDocumentSample.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Create(NSData, NSDate, NSDate, NSDictionary, NSError) |
Creates a new HKCdaDocumentSample with the specified values. |
Create(NSData, NSDate, NSDate, HKMetadata, NSError) |
Creates a new HKCdaDocumentSample with the specified values. |
Create(NSData, NSDate, NSDate, NSDictionary, NSError)
Creates a new HKCdaDocumentSample with the specified values.
[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
Parameters
- documentData
- NSData
- startDate
- NSDate
- endDate
- NSDate
- validationError
- NSError
Returns
- Attributes
Applies to
Create(NSData, NSDate, NSDate, HKMetadata, NSError)
Creates a new HKCdaDocumentSample with the specified values.
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
Parameters
- documentData
- NSData
- startDate
- NSDate
- endDate
- NSDate
- metadata
- HKMetadata
- validationError
- NSError