Basic Library for WPF and Silverlight | ComponentOne
C1.Silverlight Namespace / Trace Class / Assert Method / Assert(Boolean) Method
The conditional expression to evaluate. If the condition is true, the call stack is not displayed.

In This Topic
    Assert(Boolean) Method
    In This Topic
    Checks for a condition and outputs the call stack if the condition is false.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Sub Assert( _
       ByVal condition As Boolean _
    ) 
    public static void Assert( 
       bool condition
    )

    Parameters

    condition
    The conditional expression to evaluate. If the condition is true, the call stack is not displayed.
    See Also