'Declaration
Public ReadOnly Property MessageType As MessageType
'Usage
Dim instance As Message Dim value As MessageType value = instance.MessageType
public MessageType MessageType {get;}
public: property MessageType MessageType { MessageType get(); }