MaxLengthAttribute Constructors
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.
Initializes a new instance of the MaxLengthAttribute class.
Overloads
MaxLengthAttribute() |
Initializes a new instance of the MaxLengthAttribute class. |
MaxLengthAttribute(Int32) |
Initializes a new instance of the MaxLengthAttribute class based on the |
MaxLengthAttribute()
- Source:
- MaxLengthAttribute.cs
- Source:
- MaxLengthAttribute.cs
- Source:
- MaxLengthAttribute.cs
Initializes a new instance of the MaxLengthAttribute class.
public:
MaxLengthAttribute();
public MaxLengthAttribute ();
Public Sub New ()
Remarks
The maximum allowable length supported by the database will be used.
Applies to
MaxLengthAttribute(Int32)
- Source:
- MaxLengthAttribute.cs
- Source:
- MaxLengthAttribute.cs
- Source:
- MaxLengthAttribute.cs
Initializes a new instance of the MaxLengthAttribute class based on the length
parameter.
public:
MaxLengthAttribute(int length);
public MaxLengthAttribute (int length);
new System.ComponentModel.DataAnnotations.MaxLengthAttribute : int -> System.ComponentModel.DataAnnotations.MaxLengthAttribute
Public Sub New (length As Integer)
Parameters
- length
- Int32
The maximum allowable length of array or string data.
Applies to
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示