RouteCollection.TryAdd Method

Tries to add the route to the RouteCollection.

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

Syntax

C#

public bool TryAdd(
    Route route
)

Parameters

route

Type: TwinCAT.Ads.TcpRouter.Route
The route.

Return Value

Type: Boolean
true if the route is added, false otherwise.

Reference

RouteCollection Class

TwinCAT.Ads.TcpRouter Namespace