Share via


Setting.EnumArray Constructor

Definition

Initializes a new instance of the Setting.EnumArray class.

public EnumArray (string id, string displayName, Microsoft.VisualStudio.Extensibility.Settings.SettingCategory parentCategory, Microsoft.VisualStudio.Extensibility.Settings.EnumSettingEntry[] values, string[] defaultValue);
new Microsoft.VisualStudio.Extensibility.Settings.Setting.EnumArray : string * string * Microsoft.VisualStudio.Extensibility.Settings.SettingCategory * Microsoft.VisualStudio.Extensibility.Settings.EnumSettingEntry[] * string[] -> Microsoft.VisualStudio.Extensibility.Settings.Setting.EnumArray
Public Sub New (id As String, displayName As String, parentCategory As SettingCategory, values As EnumSettingEntry(), defaultValue As String())

Parameters

id
String

The identifier of the setting.

displayName
String

The display name of the setting.

parentCategory
SettingCategory

The parent category.

values
EnumSettingEntry[]

The allowed values for the enumeration.

defaultValue
String[]

The default value of the setting.

Applies to