Share via


SettingsWriteBatch.WriteSetting Method

Definition

Overloads

WriteSetting(Setting+ObjectArray, IEnumerable<IArraySettingItemConvertible>)

Adds a write operation to the batch to write an Setting.ObjectArray.

WriteSetting<T>(Setting<T>, T)

Adds a write operation to the batch.

WriteSetting<T>(SettingIdentifier<T>, T)

Adds a write operation to the batch.

WriteSetting(Setting+ObjectArray, IEnumerable<IArraySettingItemConvertible>)

Adds a write operation to the batch to write an Setting.ObjectArray.

public void WriteSetting (Microsoft.VisualStudio.Extensibility.Settings.Setting.ObjectArray setting, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Extensibility.Settings.IArraySettingItemConvertible> value);
member this.WriteSetting : Microsoft.VisualStudio.Extensibility.Settings.Setting.ObjectArray * seq<Microsoft.VisualStudio.Extensibility.Settings.IArraySettingItemConvertible> -> unit
Public Sub WriteSetting (setting As Setting.ObjectArray, value As IEnumerable(Of IArraySettingItemConvertible))

Parameters

setting
Setting.ObjectArray

The setting to be updated.

value
IEnumerable<IArraySettingItemConvertible>

The new value to assign to the setting.

Applies to

WriteSetting<T>(Setting<T>, T)

Adds a write operation to the batch.

public void WriteSetting<T> (Microsoft.VisualStudio.Extensibility.Settings.Setting<T> setting, T value);
member this.WriteSetting : Microsoft.VisualStudio.Extensibility.Settings.Setting<'T> * 'T -> unit
Public Sub WriteSetting(Of T) (setting As Setting(Of T), value As T)

Type Parameters

T

The type of the setting to be written.

Parameters

setting
Setting<T>

The setting to be updated.

value
T

The new value to assign to the setting.

Applies to

WriteSetting<T>(SettingIdentifier<T>, T)

Adds a write operation to the batch.

public void WriteSetting<T> (Microsoft.VisualStudio.Extensibility.Settings.SettingIdentifier<T> settingId, T value);
member this.WriteSetting : Microsoft.VisualStudio.Extensibility.Settings.SettingIdentifier<'T> * 'T -> unit
Public Sub WriteSetting(Of T) (settingId As SettingIdentifier(Of T), value As T)

Type Parameters

T

The type of the setting to be written.

Parameters

settingId
SettingIdentifier<T>

The full identifier of setting to be updated, including the categories it is nested under.

value
T

The new value to assign to the setting.

Applies to