Share via


ManagementPackProperty.MaxLength Property

Definition

Gets or sets a maximum length value in the attribute value type template.

Valid only for string properties.

public:
 property int MaxLength { int get(); void set(int value); };
public int MaxLength { get; set; }
member this.MaxLength : int with get, set
Public Property MaxLength As Integer

Property Value

The maximum length value in the attribute value type template.

Applies to