How to put two attributes?

mariano_donati

Active member
Joined
Nov 30, 2005
Messages
41
Programming Experience
Beginner
Hi everybody, i'm making a class, and i want to put two attributes to each property of it. I want to put Category attribute and description attribute, but it only gives the chance to put one of those attributes. I've tried to do it by separating both attributes with "," and putting them in different lines, but it just doesn't work either.
Do you know how to do it?
 
VB.NET:
<Category("Layout"), Description("Specifies the Docking of Control.")> _
PublicOverridesProperty Dock() As DockStyle

Also you must Imports System.ComponentModel
 
Back
Top