the last parameter is a state object, this object can be any object you want to pass into the AsyncCallBack delegate'object' just means the parameter name is 'object'
public virtual IAsyncResult BeginInvoke(object sender, Control Child, int32 X , int32 Y, AsyncCallback callback, object 'object') { } 你的意思是这样的吗? 可是在编辑器中出现红色的下划线
you are not allowed to use object as a parameter name, since object is a keyword, but I have seen in documentation something like this:AsyncCallback (object object, int method)
{
}
你的意思是这样的吗?
可是在编辑器中出现红色的下划线
1。为什么这些函 数用object作参数名
2。在vs7的IDE环境中有没有办法允许object作为参数名