ReadOnlyCollection.CreateCollection<T>(ReadOnlySpan<T>) 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.
public:
generic <typename T>
static System::Collections::ObjectModel::ReadOnlyCollection<T> ^ CreateCollection(ReadOnlySpan<T> values);
public static System.Collections.ObjectModel.ReadOnlyCollection<T> CreateCollection<T>(scoped ReadOnlySpan<T> values);
static member CreateCollection : ReadOnlySpan<'T> -> System.Collections.ObjectModel.ReadOnlyCollection<'T>
Public Shared Function CreateCollection(Of T) (values As ReadOnlySpan(Of T)) As ReadOnlyCollection(Of T)
Type Parameters
- T
Parameters
- values
- ReadOnlySpan<T>
Returns
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.