AmsAddress.TryParse Method

Tries to parse the AmsAddress from string.

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 AmsAddress?? address
)

Parameters

str

Type: System.String
The STR.

address

Type: TwinCAT.Ads.AmsAddress.
The address.

Return Value

Type: Boolean
true if the address is sucessfully parsed, false otherwise.

Reference

AmsAddress Class

TwinCAT.Ads Namespace