Skip to content

RouteNwSites

Type 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

Members

Properties

Property Type Summary
Count int
this[] ISIAPIRouteNwSite
this[] ISIAPIRouteNwSite

Methods

Method Returns Summary
RouteNwSiteExists(string) bool Queries whether a particular Route Network Site exists in the collection

Properties

Count

int Count { get; }

Type int

Code samples
int count = routeNwSites.Count;
long count;
routeNwSites->get_Count(&count);
count = routeNwSites.Count
$count = $routeNwSites.Count

this[]

ISIAPIRouteNwSite this[] { get; }

Type ISIAPIRouteNwSite

Code samples
var this[] = routeNwSites.this[];
CComPtr<ISIAPIRouteNwSite> this[];
routeNwSites->get_this[](&this[]);
this[] = routeNwSites.this[]
$this[] = $routeNwSites.this[]

this[]

ISIAPIRouteNwSite this[] { get; }

Type ISIAPIRouteNwSite

Code samples
var this[] = routeNwSites.this[];
CComPtr<ISIAPIRouteNwSite> this[];
routeNwSites->get_this[](&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");
VARIANT_BOOL result;
routeNwSites->RouteNwSiteExists(CComBSTR(L"Main Intersection"), &result);
result = routeNwSites.RouteNwSiteExists(r"Main Intersection")
$result = $routeNwSites.RouteNwSiteExists("Main Intersection")