Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get value in DefaultValue attribute on a property.

Status
Not open for further replies.

adam0101

Programmer
Jun 25, 2002
1,952
US
How would I get a string representation of the value stored in a property's DefaultValue() attribute?

Code:
	<DefaultValue([b][red]"MyItem"[/red][/b])> _
	  Public Property ColumnLabel() As String
		Get
			Return _colLabel
		End Get
		Set(ByVal Value As String)
			_colLabel = Value
		End Set
	End Property

Adam
 
hi adam long time no see.

Christiaan Baes
Belgium

I just like this --> [Wiggle] [Wiggle]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top