Share via


ArrayBuilder<T>.GetInstance Method

Definition

Overloads

GetInstance()
GetInstance(Int32)
GetInstance(Int32, T)

GetInstance()

public:
 static Microsoft::VisualStudio::Utilities::ArrayBuilder<T> ^ GetInstance();
public static Microsoft.VisualStudio.Utilities.ArrayBuilder<T> GetInstance ();
static member GetInstance : unit -> Microsoft.VisualStudio.Utilities.ArrayBuilder<'T>
Public Shared Function GetInstance () As ArrayBuilder(Of T)

Returns

Applies to

GetInstance(Int32)

public:
 static Microsoft::VisualStudio::Utilities::ArrayBuilder<T> ^ GetInstance(int capacity);
public static Microsoft.VisualStudio.Utilities.ArrayBuilder<T> GetInstance (int capacity);
static member GetInstance : int -> Microsoft.VisualStudio.Utilities.ArrayBuilder<'T>
Public Shared Function GetInstance (capacity As Integer) As ArrayBuilder(Of T)

Parameters

capacity
Int32

Returns

Applies to

GetInstance(Int32, T)

public:
 static Microsoft::VisualStudio::Utilities::ArrayBuilder<T> ^ GetInstance(int capacity, T fillWithValue);
public static Microsoft.VisualStudio.Utilities.ArrayBuilder<T> GetInstance (int capacity, T fillWithValue);
static member GetInstance : int * 'T -> Microsoft.VisualStudio.Utilities.ArrayBuilder<'T>
Public Shared Function GetInstance (capacity As Integer, fillWithValue As T) As ArrayBuilder(Of T)

Parameters

capacity
Int32
fillWithValue
T

Returns

Applies to