.NET kod örneklerini koymak için hangi etiketleri kullanabilirim? ///
XML yorumları?.NET XML yorumlarında kod örneklerini nasıl koyarım?
8
A
cevap
16
<example>
etiketini kullanarak deneyin.
/// <example>
/// <code>
/// // create the class that does translations
/// GiveHelpTransforms ght = new GiveHelpTransforms();
/// // have it load our XML into the SourceXML property
/// ght.LoadXMLFromFile(
/// "E:\\Inetpub\\wwwroot\\GiveHelp\\GiveHelpDoc.xml");
/// </code>
/// </example>
ben
here gelen yukarıdaki örneği var.
6
<example>
ve <code>
etiketlerini kullanabilirsiniz.
Recommended Tags for Documentation Comments'u kontrol edin.