(对象)是一种'场',但用于像一个“类型” [英] (object) is a 'field' but is used like a 'type'

查看:119
本文介绍了(对象)是一种'场',但用于像一个“类型”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的智能感知是给我的错误:
ClassLibrary1.GetTimeZone.myWorldTime'是一种'场',但用于像一个类型

My intellisense is giving me the error: 'ClassLibrary1.GetTimeZone.myWorldTime' is a 'field' but is used like a 'type'

任何想法,我做错了吗?

Any idea what I'm doing wrong?

!该类 1 对象浏览器

!Object Browser for the class1

推荐答案

您需要把线误差在类的构造函数或方法。

You need to put the line in error in a class constructor or a method.

这篇关于(对象)是一种'场',但用于像一个“类型”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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