AmsNetIdParse Method

Converts the string representation of the address to AmsNetId.


Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

public static AmsNetId Parse(
    string str
)

Parameters

str  String

The string to parse.

Return Value

AmsNetId
AmsNetId.

Exceptions

Exception

Condition

FormatException

Format of AmsNetId is not valid!

Reference

AmsNetId Class TwinCAT.Ads Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026