System::Data::DataColumnCollection::IndexOf 方法
DataColumnCollection::IndexOf method
在集合中查找列。
int32_t System::Data::DataColumnCollection::IndexOf(const System::String &columnName)
| Parameter | Type | 描述 |
|---|---|---|
| columnName | const System::String& | 要查找的列名。 |
ReturnValue
如果找到则返回列索引,否则为 -1。
另见
- Class String
- Class DataColumnCollection
- Namespace System::Data
- Library Aspose.Page for C++