SetNamedValues
Stores the named values to the vault.
Syntax
// Assumes shellUI has been initialized with IShellUI instance
const results = await shellUI.Vault.NamedValueStorageOperations.SetNamedValues({
storage_type: 9 /* Enum: NamedValueType */,
namespace_name: "<!< The namespace into which the values belong.>",
values: [] /* Array of NamedValue */,
required_existing_value: [] /* Array of NamedValue */,
});
Message
Name | Description | Type |
---|---|---|
storage_type | The named value type to set. | NamedValueType |
namespace_name | The namespace into which the values belong. | string |
values | The values to set as JSON array (represented by MF_NamedValueArray struct). | NamedValue[] |
required_existing_value | The values that must exist in the database to allow the method to proceed. E_MFILES_PROBABLY_UPDATE_CONFLICT error is raised if the datbase has an unexepcted value. | NamedValue[] |
Return type
Name | Description | Type |
---|
Example
{}