Skip to main content

Definition

Assembly: System.Runtime.dll Namespace: System.Collections.ObjectModel

Syntax

System.Collections.ObjectModel.Collection<T>

Summary

This type is defined in System.Runtime.

Remarks

See Microsoft documentation for more information about the rest of the API.

Methods

AddRange Extension

Extension method from System.Collections.ObjectModel.EasyAF_CollectionExtensions

Syntax

public static void AddRange<T>(System.Collections.ObjectModel.Collection<T> collection, System.Collections.Generic.IEnumerable<T> items)

Parameters

NameTypeDescription
collectionSystem.Collections.ObjectModel.Collection<T>-
itemsSystem.Collections.Generic.IEnumerable<T>-

InsertRange Extension

Extension method from System.Collections.ObjectModel.EasyAF_CollectionExtensions

Syntax

public static void InsertRange<T>(System.Collections.ObjectModel.Collection<T> collection, int index, System.Collections.Generic.IEnumerable<T> items)

Parameters

NameTypeDescription
collectionSystem.Collections.ObjectModel.Collection<T>-
indexint-
itemsSystem.Collections.Generic.IEnumerable<T>-

RemoveRange Extension

Extension method from System.Collections.ObjectModel.EasyAF_CollectionExtensions

Syntax

public static void RemoveRange<T>(System.Collections.ObjectModel.Collection<T> collection, int index, int count)

Parameters

NameTypeDescription
collectionSystem.Collections.ObjectModel.Collection<T>-
indexint-
countint-

ReplaceRange Extension

Extension method from System.Collections.ObjectModel.EasyAF_CollectionExtensions

Syntax

public static void ReplaceRange<T>(System.Collections.ObjectModel.Collection<T> collection, int index, int count, System.Collections.Generic.IEnumerable<T> items)

Parameters

NameTypeDescription
collectionSystem.Collections.ObjectModel.Collection<T>-
indexint-
countint-
itemsSystem.Collections.Generic.IEnumerable<T>-