Skip to content

NetworkSites

Type ISIAPINetworkSites · Interface
Namespace SIDRASolutions.SI.API
Assembly SIDRASolutions.SI.API.dll
COM CLSID 45ACCED4-517A-4F53-A2FA-43BB38839E88

Declaration

[Guid("45ACCED4-517A-4F53-A2FA-43BB38839E88")]
public interface ISIAPINetworkSites

Members

Properties

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

Methods

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

Properties

Count

int Count { get; }

Type int

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

this[]

ISIAPINetworkSite this[] { get; }

Type ISIAPINetworkSite

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

this[]

ISIAPINetworkSite this[] { get; }

Type ISIAPINetworkSite

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

Methods

NetworkSiteExists(string)

Queries whether a particular Network Site exists in the collection

bool NetworkSiteExists(string sitename)

Parameters

Name Type Description
sitename string Site name to query

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

Code samples
bool result = networkSites.NetworkSiteExists(@"Main Intersection");
VARIANT_BOOL result;
networkSites->NetworkSiteExists(CComBSTR(L"Main Intersection"), &result);
result = networkSites.NetworkSiteExists(r"Main Intersection")
$result = $networkSites.NetworkSiteExists("Main Intersection")