Share via


Setting.FormattedString Constructor

Definition

Initializes a new instance of the Setting.FormattedString class.

public FormattedString (string id, string displayName, Microsoft.VisualStudio.Extensibility.Settings.SettingCategory parentCategory, Microsoft.VisualStudio.Extensibility.Settings.SettingStringFormat format, string defaultValue);
new Microsoft.VisualStudio.Extensibility.Settings.Setting.FormattedString : string * string * Microsoft.VisualStudio.Extensibility.Settings.SettingCategory * Microsoft.VisualStudio.Extensibility.Settings.SettingStringFormat * string -> Microsoft.VisualStudio.Extensibility.Settings.Setting.FormattedString
Public Sub New (id As String, displayName As String, parentCategory As SettingCategory, format As SettingStringFormat, defaultValue As String)

Parameters

id
String

The identifier of the setting.

displayName
String

The display name of the setting.

parentCategory
SettingCategory

The parent category.

format
SettingStringFormat

The format used to validate this setting.

defaultValue
String

The default value of the setting.

Applies to