แก้ไข

แชร์ผ่าน


ImmutableCollectionsMarshal Class

Definition

An unsafe class that provides a set of methods to access the underlying data representations of immutable collections.

public ref class ImmutableCollectionsMarshal abstract sealed
public static class ImmutableCollectionsMarshal
type ImmutableCollectionsMarshal = class
Public Class ImmutableCollectionsMarshal
Inheritance
ImmutableCollectionsMarshal

Methods

AsArray<T>(ImmutableArray<T>)

Gets the underlying T array for an input ImmutableArray<T> value.

AsImmutableArray<T>(T[])

Gets an ImmutableArray<T> value wrapping the input T array.

Applies to