Excel for UWP/WinRT
IndexOf メソッド (XLColumnCollection)

検索する項目。
コレクション内の特定の XLRow オブジェクトのインデックスを取得します。
構文
'宣言
 
Public Function IndexOf( _
   ByVal col As XLColumn _
) As System.Integer
public System.int IndexOf( 
   XLColumn col
)

パラメータ

col
検索する項目。

戻り値の型

コレクション内の項目の位置。項目がコレクションのメンバでない場合は、-1。
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

参照

関連項目

XLColumnCollection クラス
XLColumnCollection メンバ

Send Feedback