Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 415
  • Last Modified:

how to put some information to the user when creating an function

hi i would like to make the creation of my function more informative. ex.:

here is an function

Public Shared Function CountUserPictures(byval viduser as integer) as integer
begin
   .....
end

this functions is good, but when i am programming on visual studio. all functions show a Little comment when we type it. like this function above could show. an message or tip to the user when he is typing on visual studio like this:

this function return the number of photos the user uploaded on his account.

how can i do that?
0
rafaelrgl
Asked:
rafaelrgl
  • 2
1 Solution
 
käµfm³d 👽Commented:
You apply XML comments to your function. For example:

''' <summary>
''' this function return the number of photos the user uploaded on his account.
''' </summary>
''' <param name="viduser">The user id of the user who uploaded the photos.</praram>
Public Shared Function CountUserPictures(byval viduser as integer) as integer
...
End Sub

Open in new window

0
 
rafaelrglAuthor Commented:
Thankksss soo muchhh,

Program is fun when all is explain for others who read the code we do.
thanks.
0
 
käµfm³d 👽Commented:
NP. Glad to help  = )
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now