EnumProperty Class
Represents the schema of an enumeration property.
MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Inheritance Hierarchy
System.Object
Microsoft.Build.Framework.XamlTypes.BaseProperty
Microsoft.Build.Framework.XamlTypes.EnumProperty
Namespace: Microsoft.Build.Framework.XamlTypes
Assembly: Microsoft.Build.Framework (in Microsoft.Build.Framework.dll)
Syntax
'Declaration
<ContentPropertyAttribute("AdmissibleValues")> _
Public NotInheritable Class EnumProperty _
Inherits BaseProperty
[ContentPropertyAttribute("AdmissibleValues")]
public sealed class EnumProperty : BaseProperty
[ContentPropertyAttribute(L"AdmissibleValues")]
public ref class EnumProperty sealed : public BaseProperty
[<Sealed>]
[<ContentPropertyAttribute("AdmissibleValues")>]
type EnumProperty =
class
inherit BaseProperty
end
public final class EnumProperty extends BaseProperty
The EnumProperty type exposes the following members.
Constructors
Name | Description | |
---|---|---|
EnumProperty | The default enum property constructor.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. |
Top
Properties
Name | Description | |
---|---|---|
AdmissibleValues | Gets or sets the list of possible values for this property. MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. | |
Arguments | Gets or sets a list of arguments for this property.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BaseProperty.) | |
Category | Gets or sets the name of the category to which this property belongs.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BaseProperty.) | |
ContainingRule | Gets or sets the Rule that contains this BaseProperty.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BaseProperty.) | |
DataSource | Gets or sets the data source where the current value of this property is stored.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BaseProperty.) | |
Default | Gets or sets the default value for this property.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BaseProperty.) | |
Description | Gets or sets a description of this BaseProperty for use by a prospective UI client.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BaseProperty.) | |
DisplayName | Gets or sets a name that can be used by a prospective UI client to display this BaseProperty.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BaseProperty.) | |
F1Keyword | Gets or sets the keyword that is used to open the help page for this property.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BaseProperty.) | |
HelpContext | Gets or sets the Help context to use when the user presses F1.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BaseProperty.) | |
HelpFile | Gets or sets the Help file to use when the user presses F1.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BaseProperty.) | |
HelpUrl | Gets or sets the URL of the Help page for this property. The page is opened when the user presses F1.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BaseProperty.) | |
IncludeInCommandLine | Gets or sets a hint to the command-line constructor whether to include this property in the command line.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BaseProperty.) | |
IsRequired | Gets or sets a flag that indicates whether this property is required to have a value set.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BaseProperty.) | |
Metadata | Gets or sets additional attributes of this BaseProperty.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BaseProperty.) | |
MultipleValuesAllowed | Gets or sets a switch that specifies whether this property allows multiple values to be supplied/selected simultaneously.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BaseProperty.) | |
Name | Gets or sets the name of this BaseProperty.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BaseProperty.) | |
ReadOnly | Gets or sets a flag that indicates whether this property is read-only.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BaseProperty.) | |
Separator | Gets or sets the token used to separate a switch from its value.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BaseProperty.) | |
Subcategory | Gets or sets the subcategory this property belongs to.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BaseProperty.) | |
Switch | Gets or sets the switch representation of this property when the property represents a tool parameter.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BaseProperty.) | |
SwitchPrefix | Gets or sets the prefix for the switch representation of this property when this property represents a tool parameter.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BaseProperty.) | |
ValueEditors | Gets or sets the list of value editors for this property.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BaseProperty.) | |
Visible | Gets or sets a hint to the UI client that tells it whether to display this property.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BaseProperty.) |
Top
Methods
Name | Description | |
---|---|---|
BeginInit | See BeginInit.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BaseProperty.) | |
EndInit | See EndInit.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Overrides BaseProperty.EndInit().) | |
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Remarks
This class inherits the Default property from the BaseProperty class, which has no meaning for this property. Use the IsDefault property on the EnumValue instead to mark the default value for this property.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.