Appends a range of elements to the end of the collection.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'宣言
Public Sub AddRange ( _
collection As IEnumerable(Of T) _
)
'使用
Dim instance As LinkedElementCollection
Dim collection As IEnumerable(Of T)
instance.AddRange(collection)
public void AddRange(
IEnumerable<T> collection
)
public:
void AddRange(
IEnumerable<T>^ collection
)
public function AddRange(
collection : IEnumerable<T>
)
Parameters
collection
Type: System.Collections.Generic.IEnumerable<T>The range of elements to add to the collection.
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