Intellisense提示类构造函数 [英] Intellisense hints on class constructor

查看:107
本文介绍了Intellisense提示类构造函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法获得intellisense提示来处理我的类构造函数。请你告诉我我做错了什么?


公共课MyObject

{

//构造函数


///< summary>

///用于创建空的MyObject。

/ //将使用默认属性值。

///< / summary>

public MyObject()

{

}


}

I cannot get the intellisense hints to work on my class constructors. Would
you please tell me what I am doing wrong?

public class MyObject
{
//Constructors

/// <summary>
/// Used to create an empty MyObject.
/// Will use the default property values.
/// </summary>
public MyObject()
{
}

}

推荐答案

有一天,Jim Starcher写道:
One day, Jim Starcher wrote:
我无法获得intellisense提示在我的班级建设者身上工作。
请你告诉我我做错了什么?

公共课MyObject
//

///< summary>
///用于创建空的MyObject。
/// Will使用默认属性值。
///< / summary>
public MyObject()
{
}

}
I cannot get the intellisense hints to work on my class constructors.
Would you please tell me what I am doing wrong?

public class MyObject
{
//Constructors

/// <summary>
/// Used to create an empty MyObject.
/// Will use the default property values.
/// </summary>
public MyObject()
{
}

}




嗨Jim,


似乎没有你的代码出了什么问题......我可以问一下你使用的是哪个版本的IDE(以及.NET框架)?从内存来看,

我认为可能有一些关于IDE 2002的内容。


-

Tom Spink



Hi Jim,

There doesn''t appear to be anything wrong with your code... may I ask which
version of the IDE (and hence .NET framework) are you using? From memory,
I think there may be something about "IDE 2002".

--
Tom Spink


类构造函数是否在另一个项目中?如果是这样,构建项目。

然后Intelli应该毫无疑问地找到新的/修改过的代码。


Jim Starcher < Jim St******@discussions.microsoft.com >在消息中写道

新闻:1E ********************************** @ microsof t.com ...
Are the class constructors in another project? If so, build the project.
Then Intelli should without-a-doubt find the new/modified code.

"Jim Starcher" <Jim St******@discussions.microsoft.com> wrote in message
news:1E**********************************@microsof t.com...
我无法获得intellisense提示来处理我的类构造函数。
请你告诉我我做错了什么?

公共课MyObject
//

///< ; summary>
///用于创建空的MyObject。
///将使用默认属性值。
///< / summary>
public MyObject( )
{
}

}
I cannot get the intellisense hints to work on my class constructors. Would you please tell me what I am doing wrong?

public class MyObject
{
//Constructors

/// <summary>
/// Used to create an empty MyObject.
/// Will use the default property values.
/// </summary>
public MyObject()
{
}

}



谢谢,汤姆。我正在使用VS.Net 2003 v 7.1.3088


我希望在

构造函数的默认值下面看到关于intellisense提示的注释签名。我获得了签名提示,其中列出了重载

(来自真实代码,不是我发送的示例)但没有评论。


班级项目和引用测试项目是在同一个解决方案中。

Tom Spink写道:
Thanks, Tom. I am using VS.Net 2003 v 7.1.3088

I was expecting to see the comments on the intellisense hint just below the
constructor''s default signature. I get the signature hint with the overloads
listed (from the real code, not the example I sent) but no comments.

The class project and the referencing test project are in the same solution.
"Tom Spink" wrote:
有一天,Jim Starcher写道:
One day, Jim Starcher wrote:
我无法获得intellisense提示,以便在我的班级构造函数上工作。
你能告诉我我做错了什么吗?

公共课MyObject
//

///< summary>
///用于创建一个空MyObject。
///将使用默认属性值。
///< / summary>
public MyObject()
{
}

}
I cannot get the intellisense hints to work on my class constructors.
Would you please tell me what I am doing wrong?

public class MyObject
{
//Constructors

/// <summary>
/// Used to create an empty MyObject.
/// Will use the default property values.
/// </summary>
public MyObject()
{
}

}



吉姆,

似乎没有任何问题你的代码......我可以问你使用哪个版本的IDE(以及.NET框架)?从内存来看,
我认为可能有一些关于IDE 2002的内容。

-
Tom Spink



Hi Jim,

There doesn''t appear to be anything wrong with your code... may I ask which
version of the IDE (and hence .NET framework) are you using? From memory,
I think there may be something about "IDE 2002".

--
Tom Spink



这篇关于Intellisense提示类构造函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆