473,395 Members | 2,010 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

<see> tag: how to access a constructor?

What I have to write in the <see> tag
in order to access the constructor of a class?

E.g.: to access the constructor of a class MyClass
I try <see cref="MyClass.MyClass"/>
but it does not work.

I try also <see cref="MyClass.#ctor"/> but it fails also.

What I have to write?

Thanks.

- Dario

Nov 15 '05 #1
3 1313
<see cref="MyClass()"/>

--
--Grant
This posting is provided "AS IS" with no warranties, and confers no rights.
Nov 15 '05 #2
maybe _ctor instead of #ctor?

this is an interesting question

--
Eric Newton
C#/ASP Application Developer
er**@cc.ensoft-software.com [remove the first "CC."]

"Dario" <da***@despammed.com> wrote in message
news:bo**********@fata.cs.interbusiness.it...
What I have to write in the <see> tag
in order to access the constructor of a class?

E.g.: to access the constructor of a class MyClass
I try <see cref="MyClass.MyClass"/>
but it does not work.

I try also <see cref="MyClass.#ctor"/> but it fails also.

What I have to write?

Thanks.

- Dario

Nov 15 '05 #3
Noe, you just need to disambiguate between the class and the method that
share a name by adding parenthesis:

<see cref="MyClass()">

--
Grant Richins, C# Compiler Team
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Nov 15 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: higabe | last post by:
Three questions 1) I have a string function that works perfectly but according to W3C.org web site is syntactically flawed because it contains the characters </ in sequence. So how am I...
11
by: Les Paul | last post by:
I'm trying to design an HTML page that can edit itself. In essence, it's just like a Wiki page, but my own very simple version. It's a page full of plain old HTML content, and then at the bottom,...
0
by: Kent Boogaart | last post by:
Hello, It appears that the <see> element has a breaking change in 2.0. In 1.1 it would automatically resolve overloads so you could just write <see cref="string.Format"/> and it would link to...
2
by: Alex VanderWoude | last post by:
I am using the XML documentation feature of VS.NET. Several of my classes have overloaded methods. I would like to create a <see> tag that refers to a specific overload (as opposed to the general...
3
by: Gergely Varadi | last post by:
public class A : IComparable { int IComparable.CompareTo(object obj) { return 1; } } /// <summary> /// <see cref="A.System.IComparable.CompareTo"/>
2
by: Tom Vogel | last post by:
I'd like to use the XML Documentation Tags to comment my C# code. But many of the tags do not have any effect when I execute the "Build Comment Web Pages" menu. For example, the <list> tag gets...
1
by: Bob Rundle | last post by:
The following construct generates a good XML file, but "Build Comment Web Pages..." does not do anything sensible with the <see> tag. Is there a bug in this tool? Bob Rundle using System;...
1
by: Lasse Vågsæther Karlsen | last post by:
If I got the following three methods: /// <summary> /// Tests the string. /// </summary> /// <param name="s"> /// The string to test. /// </param> public void Test(String s) {
0
by: Clive Dixon | last post by:
Is there any way of resolving out of scope references in doc tags? I was hoping that the compiler might leave unresolved (but fully qualified by namespace) references intact so that NDoc could...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.