IComponentDesignerDebugService::Assert Method (Boolean, String^)

 

Asserts on a condition inside a design-time environment.

Namespace:   System.ComponentModel.Design
Assembly:  System.Design (in System.Design.dll)

void Assert(
	bool condition,
	String^ message
)

Parameters

condition
Type: System::Boolean

true to prevent message from being displayed; otherwise, false.

message
Type: System::String^

The message to display.

The Assert method enables a designer to assert on a condition inside a design-time environment.

.NET Framework
Available since 2.0
Return to top
Show: