Skip to content

ISIAPIRoutes Interface

Namespace: SIDRASolutions.SI.API
Assembly: SIDRASolutions.SI.API.dll COM CLSID: B4E925F0-B40E-4706-AFDF-C4B16C8AA89F

Declaration

[Guid("B4E925F0-B40E-4706-AFDF-C4B16C8AA89F")]
public interface ISIAPIRoutes

Get an instance

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

Properties

Count

int Count { get; }

Type int

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

this[]

ISIAPIRoute this[] { get; }

Type ISIAPIRoute

Code samples
var this[] = routes.this[];
Dim this[] As ISIAPIRoute = routes.this[]
this[] = routes.this[]
$this[] = $routes.this[]

this[]

ISIAPIRoute this[] { get; }

Type ISIAPIRoute

Code samples
var this[] = routes.this[];
Dim this[] As ISIAPIRoute = routes.this[]
this[] = routes.this[]
$this[] = $routes.this[]

Methods

RouteExists(string)

Queries whether a particular Route exists in the collection

bool RouteExists(string routeName)

Parameters

Name Type Description
routeName string Route name to query

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

Code samples
bool result = routes.RouteExists(@"Example");
Dim result As Boolean = routes.RouteExists("Example")
result = routes.RouteExists(r"Example")
$result = $routes.RouteExists("Example")