AnyTypeValueCreator.CreateValue Method

Creates a value from the specified type.

Namespace:  TwinCAT.TypeSystem
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229

Syntax

C#

public static Object? CreateValue(
    AnyTypeSpecifier spec
)

Parameters

spec

Type: TwinCAT.TypeSystem.AnyTypeSpecifier
The spec.

Return Value

Type: Object
System.Nullable<System.Object>.

Reference

AnyTypeValueCreator Class

TwinCAT.TypeSystem Namespace