ServerSymbolFactoryCreateSymbol(String, IDataType, ISymbol, Int32) Method

Creates the symbol.


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

Syntax

C#

public Symbol CreateSymbol(
    string instanceName,
    IDataType dataType,
    ISymbol parent,
    int fieldOffset
)

Parameters

instanceName  String

Name of the instance.

dataType  IDataType

Type of the data.

parent  ISymbol

The parent.

fieldOffset  Int32

The field offset.

Return Value

Symbol
Symbol.

Exceptions

Exception

Condition

ArgumentNullException

instanceName

ArgumentNullException

dataType

NotSupportedException

Reference

ServerSymbolFactory Class CreateSymbol Overload TwinCAT.Ads.Server.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026