EnumChoice Class
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.
Represents a value the user can choose for an enum setting.
public class EnumChoice : IEquatable<Microsoft.VisualStudio.Utilities.UnifiedSettings.EnumChoice>
type EnumChoice = class
interface IEquatable<EnumChoice>
Public Class EnumChoice
Implements IEquatable(Of EnumChoice)
- Inheritance
-
EnumChoice
- Implements
Constructors
EnumChoice(EnumChoice) | |
EnumChoice(String, String) |
Represents a value the user can choose for an enum setting. |
Properties
EqualityContract | |
Moniker |
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 |
A localized string to display for this choice. |
Methods
<Clone>$() | |
Deconstruct(String, String) | |
Equals(EnumChoice) | |
Equals(Object) | |
GetHashCode() | |
PrintMembers(StringBuilder) | |
ToString() |
Operators
Equality(EnumChoice, EnumChoice) | |
Inequality(EnumChoice, EnumChoice) |