EnumValueCollectionTRemove Method

Removes the first occurrence of a specific object from the ICollectionT.


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

Syntax

C#

public bool Remove(
    EnumValue<T> item
)

Parameters

item  EnumValueT

The object to remove from the ICollectionT.

Return Value

Boolean
true if item was successfully removed from the ICollectionT; otherwise, false. This method also returns false if item is not found in the original ICollectionT.

Implements

ICollectionTRemove(T)

Exceptions

Exception

Condition

NotImplementedException

Reference

EnumValueCollectionT Class TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026