共用方式為


LengthAttribute(Int32, Int32) 建構函式

定義

public:
 LengthAttribute(int minimumLength, int maximumLength);
public LengthAttribute (int minimumLength, int maximumLength);
new System.ComponentModel.DataAnnotations.LengthAttribute : int * int -> System.ComponentModel.DataAnnotations.LengthAttribute
Public Sub New (minimumLength As Integer, maximumLength As Integer)

參數

minimumLength
Int32
maximumLength
Int32

適用於