## HTMLInputElement.MaxLength property

文本字段的最大字符数，当`类型` 的值为“文本”或“密码”。请参阅 HTML 4.01. 中的 maxlength 属性 定义

```csharp
public int MaxLength { get; set; }
```

### 也可以看看

* class [HTMLInputElement](../)
* 命名空间 [Aspose.Html](../../htmlinputelement/)
* 部件 [Aspose.HTML](../../../)


