Skip to content

ISIAPIRouteNwSites Interface

Namespace: SIDRASolutions.SI.API
Assembly: SIDRASolutions.SI.API.dll COM CLSID: 8019B17F-8F56-4C6A-9EE7-4654EC7288C1

Declaration

[Guid("8019B17F-8F56-4C6A-9EE7-4654EC7288C1")]
public interface ISIAPIRouteNwSites

Get an instance

// Navigate to the ISIAPIRouteNwSites you need via the ISIAPI tree.
// See ISIAPI for the activation root.
var routeNwSites = /* ... */;
' Navigate to the ISIAPIRouteNwSites you need via the ISIAPI tree.
' See ISIAPI for the activation root.
Dim routeNwSites As ISIAPIRouteNwSites = Nothing
# Navigate to the ISIAPIRouteNwSites you need via the ISIAPI tree.
# See ISIAPI for the activation root.
routeNwSites = ...
# Navigate to the ISIAPIRouteNwSites you need via the ISIAPI tree.
# See ISIAPI for the activation root.
$routeNwSites = $null

Properties

Count

int Count { get; }

Type int

Code samples
int count = routeNwSites.Count;
Dim count As Integer = routeNwSites.Count
count = routeNwSites.Count
$count = $routeNwSites.Count

this[]

ISIAPIRouteNwSite this[] { get; }

Type ISIAPIRouteNwSite

Code samples
var this[] = routeNwSites.this[];
Dim this[] As ISIAPIRouteNwSite = routeNwSites.this[]
this[] = routeNwSites.this[]
$this[] = $routeNwSites.this[]

this[]

ISIAPIRouteNwSite this[] { get; }

Type ISIAPIRouteNwSite

Code samples
var this[] = routeNwSites.this[];
Dim this[] As ISIAPIRouteNwSite = routeNwSites.this[]
this[] = routeNwSites.this[]
$this[] = $routeNwSites.this[]

Methods

RouteNwSiteExists(string)

Queries whether a particular Route Network Site exists in the collection

bool RouteNwSiteExists(string sitename)

Parameters

Name Type Description
sitename string Site name to query

Returns bool - True, if a Route Network Site with the given Site name exists in the collection. False otherwise

Code samples
bool result = routeNwSites.RouteNwSiteExists(@"Main Intersection");
Dim result As Boolean = routeNwSites.RouteNwSiteExists("Main Intersection")
result = routeNwSites.RouteNwSiteExists(r"Main Intersection")
$result = $routeNwSites.RouteNwSiteExists("Main Intersection")