MaxLength Property
- Last UpdatedNov 06, 2025
- 1 minute read
The maximum number of characters allowed for a command parameter of type "String"
'Declaration
<XmlAttributeAttribute("MaxLength")>
Public Property MaxLength As String
'Usage
Dim instance As CommandParameter
Dim value As String
instance.MaxLength = value
value = instance.MaxLength
[XmlAttribute("MaxLength")]
public string MaxLength {get; set;}