Click here to Skip to main content
15,886,873 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
i want to create a methood and for every parameter want to show discription that how the parameter should be
eg
VB
Public Sub Print_TITEM(ByVal Status As String, ByVal Type As String)
    sb.AppendLine("TITEM" & Lcount(LineCount) & Status & Type)
    LineCount += 1

End Sub

like this many methoods are there and many after me going 2 use this class
so i need to show how the parameter should be with space without space etc..
like how visual studio shows for standard functions
Posted
Updated 3-Sep-13 3:28am
v3

1 solution

It's called "XML Documentation", and you can read about it here: http://msdn.microsoft.com/en-us/library/ms172652.aspx[^]

Set "Generate XML documentation file" in Project menu, click Properties, Compile page.
Then type ''' before your method.

VB
''' <summary>
''' Your method description here
''' </summary>
''' <param name="Status">Describe what the parameter does here</param>
''' <param name="Type">Describe what the parameter does here</param>
Public Sub Print_TITEM(Status As String, Type As String)
    sb.AppendLine("TITEM" & Lcount(LineCount) & Status & Type)
    LineCount += 1
End Sub
 
Share this answer
 
Comments
Basmeh Awad 3-Sep-13 9:45am    
thanks..
OriginalGriff 3-Sep-13 11:11am    
You're welcome!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900