I was recently very disappointed that vb.net cannot actually shadow properties of a base class. The best thing that can be done is to hide the property from the VB.net text editor. When this is done, the properties of a base class appear shadowed, but the property will still be compiled if typed in manually into the editor. The following trick was pointed out to me from VBForums.
The bracketed part, along with the Imports statement, is what does the trick. If anyone does know if is is possible to truly shadow in vb.net, please post your comment and solution!
System.ComponentModel
Imports
Class DataObjectTextColumn
Inherits DataColumn
Private mAllowUpdate As Boolean
Private mAllowInsert As Boolean
<EditorBrowsable(EditorBrowsableState.Never), Browsable(
False), _
DesignerSerializationVisibility (DesignerSerializationVisibility.Hidden)> _
Public Shadows Property ColumnMapping() As MappingType
Get
End Get
Set(ByVal value As MappingType)
End Set
End Property
Public