TcAdsSymbolInfoLoader Class

The class TcAdsSymbolInfoLoader is responsible for downloading the list of declared variables and the data types from an ADS Server.

Inheritance Hierarchy

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

Syntax

C#

public class TcAdsSymbolInfoLoader : IEnumerable

VB

Public Class TcAdsSymbolInfoLoader
    Implements IEnumerable

The TcAdsSymbolInfoLoader type exposes the following members.

Methods

 

Name

Description

Equals

Determines whether the specified object is equal to the current object. (Inherited from Object.)

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

FindSymbol

Call this method to find a symbol in the list.

GetDataTypes

Gets the data types.

GetEnumerator

Returns an enumerator that can iterate through all symbols.

GetFirstSymbol

Call this method to get the first symbol.

GetHashCode

Serves as the default hash function. (Inherited from Object.)

GetSymbolCount

Call this method to get the number of declared symbols.

GetSymbols

Loads the declared symbols from the ADS device and returns them as a collection of TcAdsSymbolInfo objects.

GetType

Gets the Type of the current instance. (Inherited from Object.)

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

ToString

Returns a string that represents the current object. (Inherited from Object.)

Events

 

Name

Description

TypeResolveError

Occurs when a typename cannot be resolved.

TypesGenerated

Occurs when new types are generated

Reference

TwinCAT.Ads Namespace