.Net Framework > v1.1.4322 > System > Threading > Interlocked > CompareExchange CompareExchange(Double@,Double,Double)
CompareExchange(Int32@,Int32,Int32)
CompareExchange(Int64@,Int64,Int64)
CompareExchange(IntPtr@,IntPtr,IntPtr)
CompareExchange(Object@,Object,Object)
CompareExchange(Single@,Single,Single)


CompareExchange(Double@,Double,Double)

Category
Method
Type
Double
Character
public, static
Parameters
NameTypeDescription
location1Double
valueDouble
comparandDouble
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

CompareExchange(Int32@,Int32,Int32)

Category
Method
Description
Compares two 32-bit signed integers for equality and, if they are equal, replaces one of the values.
Type
Int32
Character
public, static
Parameters
NameTypeDescription
location1Int32
valueInt32
comparandInt32
Attributes
NameValue/Assignment
ReliabilityContractAttributeSystem.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

CompareExchange(Int64@,Int64,Int64)

Category
Method
Type
Int64
Character
public, static
Parameters
NameTypeDescription
location1Int64
valueInt64
comparandInt64
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

CompareExchange(IntPtr@,IntPtr,IntPtr)

Category
Method
Type
IntPtr
Character
public, static
Parameters
NameTypeDescription
location1IntPtr
valueIntPtr
comparandIntPtr
Attributes
NameValue/Assignment
ReliabilityContractAttributeSystem.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

CompareExchange(Object@,Object,Object)

Category
Method
Description
Compares two objects for equality and, if they are equal, replaces one of the objects.
Type
Object
Character
public, static
Parameters
NameTypeDescription
location1Object
valueObject
comparandObject
Attributes
NameValue/Assignment
ReliabilityContractAttributeSystem.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

CompareExchange(Single@,Single,Single)

Category
Method
Description
Compares two single-precision floating point numbers for equality and, if they are equal, replaces one of the values.
Type
Single
Character
public, static
Parameters
NameTypeDescription
location1Single
valueSingle
comparandSingle
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database