Share via


IMutableProperty.SetMaxLength(Nullable<Int32>) Method

Definition

Sets the maximum length of data that is allowed in this property. For example, if the property is a String then this is the maximum number of characters.

public void SetMaxLength (int? maxLength);
abstract member SetMaxLength : Nullable<int> -> unit
Public Sub SetMaxLength (maxLength As Nullable(Of Integer))

Parameters

maxLength
Nullable<Int32>

The maximum length of data that is allowed in this property.

Applies to