Edit

Share via


SecKeyChain.Update(SecRecord, SecRecord) Method

Definition

Updates the record matching the query with the provided data.

public static Security.SecStatusCode Update (Security.SecRecord query, Security.SecRecord newAttributes);
static member Update : Security.SecRecord * Security.SecRecord -> Security.SecStatusCode

Parameters

query
SecRecord

The query to use to update the records on the keychain.

newAttributes
SecRecord

The updated record value to store.

Returns

Status code of calling SecItemUpdate.

Remarks

This performs an update on the keychain.

This calls the SecItemUpdate method.

Applies to