ReadOnlyCollection.CreateSet<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::ReadOnlySet<T> ^ CreateSet(ReadOnlySpan<T> values);
public static System.Collections.ObjectModel.ReadOnlySet<T> CreateSet<T>(scoped ReadOnlySpan<T> values);
static member CreateSet : ReadOnlySpan<'T> -> System.Collections.ObjectModel.ReadOnlySet<'T>
Public Shared Function CreateSet(Of T) (values As ReadOnlySpan(Of T)) As ReadOnlySet(Of T)
Type Parameters
- T
Parameters
- values
- ReadOnlySpan<T>
Returns
Applies to
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา