ContextNodeBaseCollection に特定の ContextNodeBase オブジェクトが格納されているかどうかを示します。
名前空間 : System.Windows.Ink.AnalysisCore
アセンブリ : IACore (IACore.dll 内)
構文
'宣言
Public Function Contains ( _
node As ContextNodeBase _
) As Boolean
'使用
Dim instance As ContextNodeBaseCollection
Dim node As ContextNodeBase
Dim returnValue As Boolean
returnValue = instance.Contains(node)
public bool Contains(
ContextNodeBase node
)
public:
bool Contains(
ContextNodeBase^ node
)
public boolean Contains(
ContextNodeBase node
)
public function Contains(
node : ContextNodeBase
) : boolean
パラメータ
- node
型 : System.Windows.Ink.AnalysisCore.ContextNodeBase
検索対象となる ContextNodeBase オブジェクト。
戻り値
型 : System.Boolean
特定の ContextNodeBase オブジェクトが ContextNodeBaseCollection に格納されているかどうかを示すブール値。
例
次の例では、myNode という名前の特定の ContextNodeBase が、nodes という名前の ContextNodeBaseCollection に格納されているかどうかを確認します。
If nodes.Contains(myNode) Then
MessageBox.Show("The node is in the collection.")
End If
if (nodes.Contains(myNode))
MessageBox.Show("The node is in the collection.");
プラットフォーム
Windows Vista, Windows XP SP2, Windows Server 2003
.NET Framework および .NET Compact Framework では、各プラットフォームのすべてのバージョンはサポートしていません。サポートされているバージョンについては、「.NET Framework システム要件」を参照してください。
バージョン情報
.NET Framework
サポート対象 : 3.0