AmsNetId.TryParse 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 bool TryParse(
    string str,
    out AmsNetId?? netId
)

Parameters

str

Type: System.String
The string to parse.

netId

Type: TwinCAT.Ads.AmsNetId.
The parsed AmsNetId.

Return Value

Type: Boolean
true if parsed, false otherwise.

Reference

AmsNetId Class

TwinCAT.Ads Namespace