C#"typeof(string)"的C ++语法是什么?
问题描述:
"typeof(string)
"的C ++语法是什么?我在SourceGrid示例#14的以下行之后进行了模式化.
What is the C++ syntax for "typeof(string)
"? I''m patterning after the following line from SourceGrid sample #14.
SourceGrid.Cells.Editors.ComboBox cbEditor = new SourceGrid.Cells.Editors.ComboBox(typeof(string));
我正在尝试使用C ++设置SourceGrid文本编辑器.我不知道如何在以下语句中构造构造函数.
I''m trying to setup a SourceGrid text editor in C++. I don''t know how to make the constructor in the following statement.
SourceGrid::Cells::Editors::TextBox^ textEditor = gcnew SourceGrid::Cells::Editors::TextBox(???);
[confused]
[confused]
答
进入C ++/CLItypeof(Something)
进入Something::typeid
.
您应将此类问题发布到 Managed/C ++ CLI论坛.它是本机编码论坛.
Into C++/CLItypeof(Something)
goes toSomething::typeid
.
You should post this kind of questions into Managed/ C++ CLI forum.It''s native coding forum.