Show / Hide Table of Contents

Constructor StringLengthAttribute

| Improve this Doc View Source

StringLengthAttribute(Int32)

Initializes a new instance of the StringLengthAttribute class by using a specified maximum length.

Declaration
public StringLengthAttribute(int maximumLength)
Parameters
Type Name Description
System.Int32 maximumLength

The maximum length of a string.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest