public bool CompareAndSet( bool expected, bool newValue )
Public Function CompareAndSet ( _ expected As Boolean, _ newValue As Boolean _ ) As Boolean
public: bool^ CompareAndSet( bool^ expected, bool^ newValue )