BorrowedList<TElement> Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |
BorrowedList<TElement>(Int32) |
Creates a new instance of BorrowedList<TElement> which contains
|
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.