Delen via


ISettingsWriter.EnqueueArrayChange<T> Method

Definition

Enqueues a change to the value of an array setting. The target scope may be selected by the user during the approval process. Validation will be performed unless the setting is not registered.

public Microsoft.VisualStudio.Utilities.UnifiedSettings.SettingChangeResult EnqueueArrayChange<T>(string moniker, System.Collections.Generic.IReadOnlyList<T> value);
abstract member EnqueueArrayChange : string * System.Collections.Generic.IReadOnlyList<'T> -> Microsoft.VisualStudio.Utilities.UnifiedSettings.SettingChangeResult
Public Function EnqueueArrayChange(Of T) (moniker As String, value As IReadOnlyList(Of T)) As SettingChangeResult

Type Parameters

T

Parameters

moniker
String
value
IReadOnlyList<T>

The new setting value.

Returns

Exceptions

Thrown if moniker or value is null.

Thrown if moniker is empty.

Applies to