ImmutableInterlocked.InterlockedExchange<T> メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
分割不可能な操作として、指定した配列を配列として設定し、元の配列への参照を返します。
public:
generic <typename T>
static System::Collections::Immutable::ImmutableArray<T> InterlockedExchange(System::Collections::Immutable::ImmutableArray<T> % ___location, System::Collections::Immutable::ImmutableArray<T> value);
public static System.Collections.Immutable.ImmutableArray<T> InterlockedExchange<T> (ref System.Collections.Immutable.ImmutableArray<T> ___location, System.Collections.Immutable.ImmutableArray<T> value);
static member InterlockedExchange : ImmutableArray * System.Collections.Immutable.ImmutableArray<'T> -> System.Collections.Immutable.ImmutableArray<'T>
Public Shared Function InterlockedExchange(Of T) (ByRef ___location As ImmutableArray(Of T), value As ImmutableArray(Of T)) As ImmutableArray(Of T)
型パラメーター
- T
配列に格納される要素の型。
パラメーター
- ___location
- ImmutableArray<T>
指定した値に設定する配列。
- value
- ImmutableArray<T>
___location
パラメーターに設定される値。
戻り値
___location
の元の値。