AmsNetId.Parse Method

Converts the string representation of the address to AmsNetId.

Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

public static AmsNetId Parse(
    string str
)

VB

Public Shared Function Parse ( 
    str As String
) As AmsNetId

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