DescriptionAttribute Class

指定属性或事件的描述。

[Description("The image associated with the control"),Category("Appearance")] 
 public Image MyImage {
    get {
       // Insert code here.
       return image1;
    }
    set {
       // Insert code here.
    }
 }
原文地址:https://www.cnblogs.com/Tpf386/p/9983656.html