TcAdsClient.DeleteVariableHandle Method

Releases the handle of a ADS variable again.

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

Syntax

C#

public void DeleteVariableHandle(
    int variableHandle
)

VB

Public Sub DeleteVariableHandle ( 
    variableHandle As Integer
)

Parameters

variableHandle

Type: System.Int32
Handle of the ADS variable

Implements

IAdsHandleAccess.DeleteVariableHandle(Int32)

Exceptions

Exception

Condition

AdsErrorException

Thrown when the ADS call fails.

Reference

TcAdsClient Class

TwinCAT.Ads Namespace