RangeAttribute 类

定义

Range 属性

[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)]
public sealed class RangeAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)>]
type RangeAttribute = class
    inherit Attribute
Public NotInheritable Class RangeAttribute
Inherits Attribute
继承
RangeAttribute
属性

适用于