ReadOnlyInstanceCollection.T..Contains Method (String)

Determines whether the ReadOnlyInstanceCollection.T. contains an instance with the specified instance path.

Namespace:  TwinCAT.TypeSystem.Generic
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

public bool Contains(
    string instancePath
)

VB

Public Function Contains ( 
    instancePath As String
) As Boolean

Parameters

instancePath

Type: System.String
The instance path.

Return Value

Type: Boolean
true if contains the specified instance path; otherwise, false.

Implements

IInstanceCollection.T..Contains(String)

Reference

ReadOnlyInstanceCollection.T. Class

Contains Overload

TwinCAT.TypeSystem.Generic Namespace