BoundsCheckableList
概述
BoundsCheckableList 是 Aspose.PDF FOSS 中用于 .NET 的类。继承自:System.Collections.Generic.IEnumerable<T>。
一个 T 的列表,可在插入时可选地强制容器边界。
此类提供 13 个方法,用于在 .NET 程序中处理 BoundsCheckableList 对象。可用的方法包括:Add、BoundsCheckableList、Clear、Contains、CopyTo、GetEnumerator、IndexOf、Insert、Remove、RemoveAt、UpdateBoundsCheckMode。在安装了用于 .NET 的 Aspose.PDF FOSS 包后,所有公共成员对任何 .NET 应用程序均可访问。属性:Count、IsReadOnly。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
Count | int | 读取 | 获取计数。 |
IsReadOnly | bool | 读取 | 获取是否为只读。 |
方法
| 签名 | 描述 |
|---|---|
BoundsCheckableList() | 在此 BoundsCheckableList 实例上调用 BoundsCheckableList。 |
BoundsCheckableList(boundsCheckMode: BoundsCheckMode, containerWidth: double, containerHeight: double) | 在此 BoundsCheckableList 实例上调用 BoundsCheckableList(boundsCheckMode, containerWidth, containerHeight)。 |
Add(item: T) | 对该 BoundsCheckableList 实例调用 Add(item)。 |
Clear() | 对该 BoundsCheckableList 实例调用 Clear。 |
Contains(item: T) | 对该 BoundsCheckableList 实例调用 Contains(item)。 |
CopyTo(array: T[], arrayIndex: int) | 对该 BoundsCheckableList 实例调用 CopyTo(array, arrayIndex)。 |
IndexOf(item: T) | 在此 BoundsCheckableList 实例上调用 IndexOf(item)。 |
Insert(index: int, item: T) | 在此 BoundsCheckableList 实例上调用 Insert(index, item)。 |
Remove(item: T) | 在此 BoundsCheckableList 实例上调用 Remove(item)。 |
RemoveAt(index: int) | 在此 BoundsCheckableList 实例上调用 RemoveAt(index)。 |
UpdateBoundsCheckMode(boundsCheckMode: BoundsCheckMode) | 切换边界检查模式而不更改容器。 |
UpdateBoundsCheckMode(boundsCheckMode: BoundsCheckMode, containerWidth: double, containerHeight: double) | 切换边界检查模式以及容器尺寸。 |
GetEnumerator() | 在此 BoundsCheckableList 实例上调用 GetEnumerator。 |