http://www.vb-helper.com/howto_net_default_value.html
The DefaultValue attribute gives a property's default value. If you right-click on the property in the Properties window and select Reset, the property is reset to this value. Usually the DefaultValue is the same as the property's initial value. This example uses the same constant for the FirstName property's initial and default values. |
|
Private Const m_DefaultFirstName As String = "<unknown " & _ |
No comments:
Post a Comment