public class dynamicclass dim mslocation as string dim mstype as string dim msdescription as string
public sub new(byval slocation as string, _ byval sdescription as string, _ byval stype as string) me.location = slocation me.description = sdescription me.type = stype end sub
public property location() as string get return mslocation end get set(byval value as string) mslocation = value end set end property
public property type() as string get return mstype end get set(byval value as string) mstype = value end set end property
public property description() as string get return msdescription end get set(byval value as string) msdescription = value end set end property
public readonly property reference() as object get return me end get end property end class