我现在有将一个专案封装成.dll档案. 在另一个专案中有参考到这个.dll 问题是 怎样才能看到原来专案中一些方法的描述文字?

解决方案 »

  1.   

    根据你那个Dll提供的文档当然,如果你的那个Dll提供的是Com+或类似组件,你引用后自然可以自动感知
      

  2.   

    方法的描述性文字用以下形式:
              /// <summary>
            /// 将msflexgrid的数据读出到.dat文本
            /// </summary>
            /// <param name="flex"></param>
      

  3.   

    To: 楼上 不行啊, 如果是参考整个专案倒是可以, 但我只想参考那个.dll档案
      

  4.   

    [Description("将msflexgrid的数据读出到.dat文本")]
      

  5.   

    错误CS0246: 找不到型别或命名空间名称'Description' (您是否遗漏using 指示词或组件参考?)
      

  6.   

    System.ComponentModel.DescriptionAttribute
      

  7.   

    [Description("The image associated with the control"),Category("Appearance")] 
     public Image MyImage {
        get {
           // Insert code here.
           return image1;
        }
        set {
           // Insert code here.
        }
     }