InstanceCollectionTContains(String) Method

Determines whether this collection contains an IInstance with the specified InstanceName / InstancePath


Namespace: TwinCAT.TypeSystem.Generic
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

public bool Contains(
    string instanceSpecifier
)

Parameters

instanceSpecifier  String

The instance path or Instance Name (dependent of Mode setting)

Return Value

Boolean
true if [contains] [the specified instance path]; otherwise, false.

Implements

IInstanceCollectionTContains(String)

Exceptions

Exception

Condition

ArgumentNullException

instancePath

ArgumentException

Reference

InstanceCollectionT Class Contains Overload TwinCAT.TypeSystem.Generic Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026