NumericAttribute 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.
Provide limits on the possible values in a numeric field or property.
[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property)]
[System.Serializable]
public class NumericAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property)>]
[<System.Serializable>]
type NumericAttribute = class
inherit Attribute
Public Class NumericAttribute
Inherits Attribute
- Inheritance
-
NumericAttribute
- Attributes
Remarks
By default the limits are the min and max of the underlying field type.
Constructors
NumericAttribute(Double, Double) |
Specify the range of possible values for a number field. |
Fields
Max |
Max possible value. |
Min |
Min possible value. |