ArrayBuilder<T>.GetInstance Method
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
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