EnumValue.IsDefault Property

Definition

Tells if this EnumValue is the default value for the associated EnumProperty.

C#
public bool IsDefault { get; set; }
C#
public bool IsDefault { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }

Property Value

true if the enum value is the default value; otherwise, false.

Attributes

Remarks

This field is optional and the default value for this field is "false".

Applies to

Produkt Versionen
MSBuild 15, 16, 17