ArraySettingContent Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ArraySettingContent(ArraySettingContent) | |
ArraySettingContent(IReadOnlyList<IReadOnlyDictionary<String,Object>>, Int32) |
The content of an array setting. |
ArraySettingContent(ArraySettingContent)
protected ArraySettingContent (Microsoft.VisualStudio.Utilities.UnifiedSettings.ArraySettingContent original);
Protected Sub New (original As ArraySettingContent)
Parameters
- original
- ArraySettingContent
Applies to
ArraySettingContent(IReadOnlyList<IReadOnlyDictionary<String,Object>>, Int32)
The content of an array setting.
public ArraySettingContent (System.Collections.Generic.IReadOnlyList<System.Collections.Generic.IReadOnlyDictionary<string,object>>? Items, int UserSelectedDefaultItemIndex = -1);
new Microsoft.VisualStudio.Utilities.UnifiedSettings.ArraySettingContent : System.Collections.Generic.IReadOnlyList<System.Collections.Generic.IReadOnlyDictionary<string, obj>> * int -> Microsoft.VisualStudio.Utilities.UnifiedSettings.ArraySettingContent
Public Sub New (Items As IReadOnlyList(Of IReadOnlyDictionary(Of String, Object)), Optional UserSelectedDefaultItemIndex As Integer = -1)
Parameters
- Items
- IReadOnlyList<IReadOnlyDictionary<String,Object>>
Array item property values. Null means "revert to default". If non-null, this is a list containing one element per item in the array. Each element is a dictionary with array item property monikers as keys and array item property values as values. The dictionary may be incomplete, missing some properties that are registered for items of this array; those properties will retain their default values for that item.
- UserSelectedDefaultItemIndex
- Int32
The zero-based index of the user-selected "default item" in the array. Ignored if this array doesn't support a user-selectable default item. -1 means "revert to default".