从集合中移除元素的范围。
命名空间: Microsoft.VisualStudio.Modeling
程序集: Microsoft.VisualStudio.Modeling.Sdk.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.11.0.dll 中)
语法
声明
Public Sub RemoveRange ( _
index As Integer, _
count As Integer _
)
public void RemoveRange(
int index,
int count
)
参数
- index
类型:System.Int32
移除的第一个元素的索引。
- count
类型:System.Int32
要移除的元素数。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。