PC Review Forums Newsgroups Microsoft DotNet Microsoft VB .NET example code in xml

Reply

example code in xml

 
Thread Tools Rate Thread
Old 30-03-2008, 03:14 PM   #1
Brian
Guest
 
Posts: n/a
Default example code in xml


In my class lib, i am trying to inclue an example of how to use my code.
I can get the summary, parameters, return values and remarks to show up but
i can't get the example?


  Reply With Quote
Old 30-03-2008, 08:09 PM   #2
Herfried K. Wagner [MVP]
Guest
 
Posts: n/a
Default Re: example code in xml

"Brian" <bsgallatin@community.nospam> schrieb:
> In my class lib, i am trying to inclue an example of how to use my code.
> I can get the summary, parameters, return values and remarks to show up
> but i can't get the example?


<example> (Visual Basic)
<URL:http://msdn2.microsoft.com/en-us/library/ms172656.aspx>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

  Reply With Quote
Old 30-03-2008, 10:01 PM   #3
Brian
Guest
 
Posts: n/a
Default Re: example code in xml

with that example... it shows up as ...
Remarks:

This sample shows how to set the ID field. Dim alice As New Employee alice.ID = 1234

what I was thinking it should do is

Remarks: This sample shows how to set the ID field.

Dim alice as New Employee

alice.ID = 1234



"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message news:OStgWmpkIHA.3780@TK2MSFTNGP06.phx.gbl...
> "Brian" <bsgallatin@community.nospam> schrieb:
>> In my class lib, i am trying to inclue an example of how to use my code.
>> I can get the summary, parameters, return values and remarks to show up
>> but i can't get the example?

>
> <example> (Visual Basic)
> <URL:http://msdn2.microsoft.com/en-us/library/ms172656.aspx>
>
> --
> M S Herfried K. Wagner
> M V P <URL:http://dotnet.mvps.org/>
> V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
>

  Reply With Quote
Old 31-03-2008, 04:34 AM   #4
Bill McCarthy
Guest
 
Posts: n/a
Default Re: example code in xml


AFAIK, the tooltips in VB don't actually show the example part for any
library.


"Brian" <bsgallatin@community.nospam> wrote in message
news:esS1IlqkIHA.2396@TK2MSFTNGP02.phx.gbl...

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off