AmsNetId.Parse Method

Converts the string representation of the address to AmsNetId.

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

Syntax

C#

public static AmsNetId Parse(
    string str
)

Parameters

str

Type: System.String
The string to parse.

Return Value

Type: AmsNetId
AmsNetId.

Exceptions

Exception

Condition

FormatException

Format of AmsNetId is not valid!

Reference

AmsNetId Class

TwinCAT.Ads Namespace