Share via


Setting.Enum Constructor

Definition

Initializes a new instance of the Setting.Enum class.

public Enum (string id, string displayName, Microsoft.VisualStudio.Extensibility.Settings.SettingCategory parentCategory, Microsoft.VisualStudio.Extensibility.Settings.EnumSettingEntry[] values, string defaultValue);
new Microsoft.VisualStudio.Extensibility.Settings.Setting.Enum : string * string * Microsoft.VisualStudio.Extensibility.Settings.SettingCategory * Microsoft.VisualStudio.Extensibility.Settings.EnumSettingEntry[] * string -> Microsoft.VisualStudio.Extensibility.Settings.Setting.Enum
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