Removes a range of elements from the collection.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'宣言
Public Sub RemoveRange ( _
index As Integer, _
count As Integer _
)
'使用
Dim instance As LinkedElementCollection
Dim index As Integer
Dim count As Integer
instance.RemoveRange(index, count)
public void RemoveRange(
int index,
int count
)
public:
void RemoveRange(
int index,
int count
)
public function RemoveRange(
index : int,
count : int
)
Parameters
index
Type: System.Int32The index of the first element to remove.
count
Type: System.Int32The number of elements to remove.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
LinkedElementCollection<T> Class