WriteIf()

Debug::WriteIf(bool, const System::String&) method

Writes string to debug interface if a condition is true.

static void System::Diagnostics::Debug::WriteIf(bool condition, const System::String &message)

Arguments

ParameterTypeDescription
conditionboolCondition value.
messageconst System::String&Message to write.

See Also