'Declaration
<XmlElementAttribute()> <DefaultValueAttribute()> Public Property SampleType As SampleType
'Usage
Dim instance As SampleTemplate Dim value As SampleType instance.SampleType = value value = instance.SampleType
[XmlElement()] [DefaultValue()] public SampleType SampleType {get; set;}
public read-write property SampleType: SampleType;
XmlElementAttribute() DefaultValueAttribute() public function get,set SampleType : SampleType
[XmlElement()] [DefaultValue()] public: __property SampleType get_SampleType(); public: __property void set_SampleType( SampleType value );
[XmlElement()] [DefaultValue()] public: property SampleType SampleType { SampleType get(); void set ( SampleType value); }