IAdsHandle.DeleteVariableHandle Method
Releases the specified symbol/variable handle synchronously.
Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads.Abstractions (in
TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229
Syntax
C#
void DeleteVariableHandle(
uint variableHandle
)
Parameters
variableHandle |
Type: System.UInt32 |
Return Value
Type:
The ADS error code.
Remarks
It is a good practice to release all variable handles after use to regain internal resources in the TwinCAT subsystem. The composite method to this TryDeleteVariableHandle(UInt32) is the TryCreateVariableHandle(String, UInt32.)