Excel for UWP/WinRT
Contains メソッド (XLNamedRange)

セルを含むワークシート。
セルの行インデックス。
セルの列インデックス。
範囲内に特定のセルが含まれるかどうかを判定します。
構文
'宣言
 
Public Function Contains( _
   ByVal sheet As XLSheet, _
   ByVal row As System.Integer, _
   ByVal col As System.Integer _
) As System.Boolean
public System.bool Contains( 
   XLSheet sheet,
   System.int row,
   System.int col
)

パラメータ

sheet
セルを含むワークシート。
row
セルの行インデックス。
col
セルの列インデックス。

戻り値の型

現在の名前付き範囲に指定されたセルが含まれる場合は true、そうでない場合は false。
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

参照

関連項目

XLNamedRange クラス
XLNamedRange メンバ

Send Feedback