比如下面的C#语句:
Property p = (Property)m_arrProperties[i];
使用convert C# to VB.net工具转换后为:
Dim p As [Property] = DirectCast(m_arrProperties(i), [Property])
但是很不幸,在vb.net中Property是定义属性的关键字,不是一种类型。
...全文
2164打赏收藏
请问vb.net的哪个类型对应C#中的Property?
请问vb.net的哪个类型对应C#中的Property? 比如下面的C#语句: Property p = (Property)m_arrProperties[i]; 使用convert C# to VB.net工具转换后为: Dim p As [Property] = DirectCast(m_arrProperties(i), [Property]) 但是很不幸,在vb.net中Property是定义属性的关键字,不是一种类型。