共用方式為


ConfigurationModelFactory.ConfigurationSetting Method

Definition

public static Azure.Data.AppConfiguration.ConfigurationSetting ConfigurationSetting (string key, string value, string label = default, string contentType = default, Azure.ETag eTag = default, DateTimeOffset? lastModified = default, bool? isReadOnly = default);
static member ConfigurationSetting : string * string * string * string * Azure.ETag * Nullable<DateTimeOffset> * Nullable<bool> -> Azure.Data.AppConfiguration.ConfigurationSetting
Public Shared Function ConfigurationSetting (key As String, value As String, Optional label As String = Nothing, Optional contentType As String = Nothing, Optional eTag As ETag = Nothing, Optional lastModified As Nullable(Of DateTimeOffset) = Nothing, Optional isReadOnly As Nullable(Of Boolean) = Nothing) As ConfigurationSetting

Parameters

key
String

The primary identifier of a configuration setting.

value
String

The configuration setting's value.

label
String

A label used to group configuration settings.

contentType
String

The content type of the configuration setting's value.

eTag
ETag

An ETag indicating the version of a configuration setting within a configuration store.

lastModified
Nullable<DateTimeOffset>

The last time a modifying operation was performed on the given configuration setting.

isReadOnly
Nullable<Boolean>

A value indicating whether the configuration setting is read only.

Returns

Applies to