Share via


BorrowedList<TElement> Constructors

Definition

Overloads

BorrowedList<TElement>()

Creates a new instance of BorrowedList<TElement>.

BorrowedList<TElement>(IEnumerable<TElement>)

Creates a new instance of BorrowedList<TElement> which contains the elements from elements.

BorrowedList<TElement>(Int32)

Creates a new instance of BorrowedList<TElement> which contains size elements set to their default value.

BorrowedList<TElement>()

Creates a new instance of BorrowedList<TElement>.

public BorrowedList();
Public Sub New ()

Applies to

BorrowedList<TElement>(IEnumerable<TElement>)

Creates a new instance of BorrowedList<TElement> which contains the elements from elements.

public BorrowedList(System.Collections.Generic.IEnumerable<TElement> elements);
new Microsoft.VisualStudio.Utilities.BorrowedList<'Element> : seq<'Element> -> Microsoft.VisualStudio.Utilities.BorrowedList<'Element>
Public Sub New (elements As IEnumerable(Of TElement))

Parameters

elements
IEnumerable<TElement>

The elements the BorrowedList<TElement> will contain.

Applies to

BorrowedList<TElement>(Int32)

Creates a new instance of BorrowedList<TElement> which contains size elements set to their default value.

public BorrowedList(int size);
new Microsoft.VisualStudio.Utilities.BorrowedList<'Element> : int -> Microsoft.VisualStudio.Utilities.BorrowedList<'Element>
Public Sub New (size As Integer)

Parameters

size
Int32

The number of elements the BorrowedList<TElement> will contain.

Applies to