Method TrySet TrySet() Tries to set the flag and returns true if the operation was successful, or false if the flag was already set. Declaration public bool TrySet() Returns Type Description bool