ArraySettingContent 构造函数

定义

重载

ArraySettingContent(ArraySettingContent)
ArraySettingContent(IReadOnlyList<IReadOnlyDictionary<String,Object>>, Int32)

数组设置的内容。

ArraySettingContent(ArraySettingContent)

protected ArraySettingContent (Microsoft.VisualStudio.Utilities.UnifiedSettings.ArraySettingContent original);
Protected Sub New (original As ArraySettingContent)

参数

适用于

ArraySettingContent(IReadOnlyList<IReadOnlyDictionary<String,Object>>, Int32)

数组设置的内容。

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)

参数

Items
IReadOnlyList<IReadOnlyDictionary<String,Object>>

数组项属性值。 Null 表示“还原为默认值”。 如果为非 null,则此列表包含数组中每个项的一个元素。 每个元素都是一个字典,数组项属性名字对象作为键,数组项属性值作为值。 字典可能不完整,缺少为此数组的项注册的某些属性;这些属性将保留该项的默认值。

UserSelectedDefaultItemIndex
Int32

数组中用户选择的“默认项”的从零开始的索引。 如果此数组不支持用户可选择的默认项,则忽略。 -1 表示“默认还原”。

适用于