ServerSymbolFactory.CreateSymbol Method (String, IDataType, ISymbol, Int32)
Creates the symbol.
Namespace: TwinCAT.Ads.Server.TypeSystem
Assembly: TwinCAT.Ads.SymbolicServer (in
TwinCAT.Ads.SymbolicServer.dll) Version: 6.0.328+39e3229
Syntax
C#
public Symbol CreateSymbol(
string instanceName,
IDataType dataType,
ISymbol parent,
int fieldOffset
)
Parameters
instanceName |
Type: System.String |
dataType |
Type: TwinCAT.TypeSystem.IDataType |
parent |
Type: TwinCAT.TypeSystem.ISymbol |
fieldOffset |
Type: System.Int32 |
Exceptions
Exception |
Condition |
---|---|
instanceName | |
dataType | |