attribute??

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • perspolis

    attribute??

    Hi everyone
    I wanted to know which class Attribute is used to show a description for
    methods of a defined class??
    thx in advance


  • Bob Powell [MVP]

    #2
    Re: attribute??

    DescriptionAttr ibute

    --
    Bob Powell [MVP]
    Visual C#, System.Drawing

    Find great Windows Forms articles in Windows Forms Tips and Tricks


    Answer those GDI+ questions with the GDI+ FAQ


    All new articles provide code in C# and VB.NET.
    Subscribe to the RSS feeds provided and never miss a new article.





    "perspolis" <rezarms@hotmai l.com> wrote in message
    news:OkKt4qNdFH A.3488@tk2msftn gp13.phx.gbl...[color=blue]
    > Hi everyone
    > I wanted to know which class Attribute is used to show a description for
    > methods of a defined class??
    > thx in advance
    >
    >[/color]


    Comment

    • John B

      #3
      Re: attribute??

      perspolis wrote:[color=blue]
      > Hi everyone
      > I wanted to know which class Attribute is used to show a description for
      > methods of a defined class??
      > thx in advance
      >
      >[/color]
      Are you talking about the descriptions you get in intellisense?
      In that case it is the xml documentation.
      c# will automagically generate these for you when you type /// above the
      method, then you can fill in the blanks.

      JB

      Comment

      • perspolis

        #4
        Re: attribute??

        I did that but nothing be showed..?
        I put a summary in /// /// but it dosen't work .???
        "John B" <jbngspam@yahoo .com> wrote in message
        news:42b60247$0 $18643$14726298 @news.sunsite.d k...[color=blue]
        > perspolis wrote:[color=green]
        > > Hi everyone
        > > I wanted to know which class Attribute is used to show a description for
        > > methods of a defined class??
        > > thx in advance
        > >
        > >[/color]
        > Are you talking about the descriptions you get in intellisense?
        > In that case it is the xml documentation.
        > c# will automagically generate these for you when you type /// above the
        > method, then you can fill in the blanks.
        >
        > JB[/color]


        Comment

        • Bob Powell [MVP]

          #5
          Re: attribute??

          When the file is compiled it should also compile the XML comments. You
          enable this by providing a filename for the XML file in the project
          configuration.

          You can distribute the resulting XML file with your DLL.

          --
          Bob Powell [MVP]
          Visual C#, System.Drawing

          Find great Windows Forms articles in Windows Forms Tips and Tricks


          Answer those GDI+ questions with the GDI+ FAQ


          All new articles provide code in C# and VB.NET.
          Subscribe to the RSS feeds provided and never miss a new article.





          "perspolis" <rezarms@hotmai l.com> wrote in message
          news:OJNw8WWdFH A.2288@TK2MSFTN GP14.phx.gbl...[color=blue]
          >I did that but nothing be showed..?
          > I put a summary in /// /// but it dosen't work .???
          > "John B" <jbngspam@yahoo .com> wrote in message
          > news:42b60247$0 $18643$14726298 @news.sunsite.d k...[color=green]
          >> perspolis wrote:[color=darkred]
          >> > Hi everyone
          >> > I wanted to know which class Attribute is used to show a description
          >> > for
          >> > methods of a defined class??
          >> > thx in advance
          >> >
          >> >[/color]
          >> Are you talking about the descriptions you get in intellisense?
          >> In that case it is the xml documentation.
          >> c# will automagically generate these for you when you type /// above the
          >> method, then you can fill in the blanks.
          >>
          >> JB[/color]
          >
          >[/color]


          Comment

          • perspolis

            #6
            Re: attribute??

            thx Bob
            I even did that and generate a xml file ..but in my application when I
            refrence to that class Intelligense editor
            dosen't show that comment..I put that xml file in dll directory but nothing
            changed..??
            thx for your helping in advance
            "Bob Powell [MVP]" <bob@_spamkille r_bobpowell.net > wrote in message
            news:ezXHCdWdFH A.3328@TK2MSFTN GP09.phx.gbl...[color=blue]
            > When the file is compiled it should also compile the XML comments. You
            > enable this by providing a filename for the XML file in the project
            > configuration.
            >
            > You can distribute the resulting XML file with your DLL.
            >
            > --
            > Bob Powell [MVP]
            > Visual C#, System.Drawing
            >
            > Find great Windows Forms articles in Windows Forms Tips and Tricks
            > http://www.bobpowell.net/tipstricks.htm
            >
            > Answer those GDI+ questions with the GDI+ FAQ
            > http://www.bobpowell.net/faqmain.htm
            >
            > All new articles provide code in C# and VB.NET.
            > Subscribe to the RSS feeds provided and never miss a new article.
            >
            >
            >
            >
            >
            > "perspolis" <rezarms@hotmai l.com> wrote in message
            > news:OJNw8WWdFH A.2288@TK2MSFTN GP14.phx.gbl...[color=green]
            > >I did that but nothing be showed..?
            > > I put a summary in /// /// but it dosen't work .???
            > > "John B" <jbngspam@yahoo .com> wrote in message
            > > news:42b60247$0 $18643$14726298 @news.sunsite.d k...[color=darkred]
            > >> perspolis wrote:
            > >> > Hi everyone
            > >> > I wanted to know which class Attribute is used to show a description
            > >> > for
            > >> > methods of a defined class??
            > >> > thx in advance
            > >> >
            > >> >
            > >> Are you talking about the descriptions you get in intellisense?
            > >> In that case it is the xml documentation.
            > >> c# will automagically generate these for you when you type /// above[/color][/color][/color]
            the[color=blue][color=green][color=darkred]
            > >> method, then you can fill in the blanks.
            > >>
            > >> JB[/color]
            > >
            > >[/color]
            >
            >[/color]


            Comment

            Working...