EnumChoice 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
EnumChoice(EnumChoice) | |
EnumChoice(String, String) |
Represents a value the user can choose for an enum setting. |
EnumChoice(EnumChoice)
protected EnumChoice (Microsoft.VisualStudio.Utilities.UnifiedSettings.EnumChoice original);
Protected Sub New (original As EnumChoice)
Parameters
- original
- EnumChoice
Applies to
EnumChoice(String, String)
Represents a value the user can choose for an enum setting.
public EnumChoice (string Moniker, string Title);
new Microsoft.VisualStudio.Utilities.UnifiedSettings.EnumChoice : string * string -> Microsoft.VisualStudio.Utilities.UnifiedSettings.EnumChoice
Public Sub New (Moniker As String, Title As String)
Parameters
- Moniker
- String
A nonlocalized string identifying this choice. Must be unique only among the choices of this enum. This is what gets passed as the value parameter to SetValueAsync<T>(String, T, CancellationToken) when the user selects it. The user never sees this value, so no casing/formatting conventions are applicable.
- Title
- String
A localized string to display for this choice.