バージョン 24.2 (最新)

ColumnsCount プロパティ

この DataTableMetadata に保存される列数を取得します。
シンタックス
public int ColumnsCount {get;}
参照