Share via


IMutableElementType.SetMaxLength(Nullable<Int32>) Method

Definition

Sets the maximum length of data that is allowed in elements of the collection. For example, if the element type 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 elements of the collection.

Applies to