message class : Icon getter

Description

Returns the icon.

Syntax

instance.Icon

Arguments

None.

Return value

ClassDescription
intA value that indicates the type of icon.

Sample code

1:

message instance = new message();

2:

int icon = instance.Icon; // Returns 0. 0 is default value. Icon is not appear.

Notes

The following is the correspondence between icons and numerical values.

0 : None : Not appear.

1 : Error : X in a circle with a red background.

2 : Question : Question in a circle.

3 : Warning : Exclamation in a triangle with a yellow background.

4 : Information : i in a circle.


The default value is 0.

Links for reference

None.

Copyright © Cooker All rights reserved.