Interlocked..::..CompareExchange<(Of <(<'T>)>)> Method (T%, T, T)
Namespace:
System.Threading
Assembly: Bridge (in Bridge.dll)
Assembly: Bridge (in Bridge.dll)
Syntax
public static T CompareExchange<T>( ref T location1, T value, T comparand )
Public Shared Function CompareExchange(Of T) ( _ ByRef location1 As T, _ value As T, _ comparand As T _ ) As T
public: generic<typename T> static T CompareExchange( T% location1, T value, T comparand )
Type Parameters
- T
Parameters
- location1
- Type: T%
- value
- Type: T
- comparand
- Type: T