WarningCode Property

Description
Returns Controller warning code.

Syntax
ReadOnly Property WarningCode As Integer

Return Value
Integer value that contains the current controller warning code.

See Also
WarningOn Property

WarningCode Example
VB Example:

If m_spel.WarningOn Then  
    lblWarningCode.Text = m_spel.WarningCode.ToString()  
Else  
    lblWarningCode.Text = ""  
End If  

C# Example:

if (m_spel.WarningOn)  
    lblWarningCode.Text = m_spel.WarningCode.ToString();  
else  
    lblWarningCode.Text = "";