S
shapper
Hello,
I am creating a class where I have various properties.
How to I set a default property value in case the property is not
defined by the user.
For example, I have the property:
' Priority
Public Property Priority() As Mail.MailPriority
Get
Return _Priority
End Get
Set(ByVal value As Mail.MailPriority)
_Priority = value
End Set
End Property
I want to set it to Mail.MailPriority.Normal in case the user didn't
defined it.
How can I do this?
Thanks,
Miguel
I am creating a class where I have various properties.
How to I set a default property value in case the property is not
defined by the user.
For example, I have the property:
' Priority
Public Property Priority() As Mail.MailPriority
Get
Return _Priority
End Get
Set(ByVal value As Mail.MailPriority)
_Priority = value
End Set
End Property
I want to set it to Mail.MailPriority.Normal in case the user didn't
defined it.
How can I do this?
Thanks,
Miguel