ISIAPINetworks Interface¶
Namespace: SIDRASolutions.SI.API
Assembly: SIDRASolutions.SI.API.dll
COM CLSID: B2DE2D3C-39F6-4587-85FC-E2827F9C5A05
Network collection wrapper interface
Declaration¶
Get an instance¶
Properties¶
Count¶
Gets the number of Networks contained in the collection.
Type int
Code samples
this[]¶
Get the Network from the collection by the Network name.
Type ISIAPINetwork
Remarks
The Network name is not unique in the collection. It is possible that more than one Network has the same name. The first Network found by name is returned. If no Network is found, null / Nothing is returned.
In C#, use ISIAPINetworks[] to get a Network by its name or its position in the collection.
In VBA, use Item() to get a Network by its name or use Item_2() to get by its position.
In C++, use get_Item() to get a Network by its name or use get_Item_2() by its position.
Code samples
this[]¶
Get the Network at the specified index.
Type ISIAPINetwork
Remarks
In C#, use ISIAPINetworks[] to get a Network by its name or its position in the collection.
In VBA, use Item() to get a Network by its name or use Item_2() to get by its position.
In C++, use get_Item() to get a Network by its name or use get_Item_2() by its position.
Code samples
Methods¶
NetworkExists(string)¶
Queries whether a particular Network exists in the collection
Parameters
| Name | Type | Description |
|---|---|---|
networkname |
string |
Network name to query |
Returns bool - True, if any Network with the given name exists in the collection. False otherwise
Remarks
The Network name is not unique in the collection. It is possible that more than one Network has the same name.
Code samples
GetNetworkByID(string)¶
Get the Network by its GUID.
Parameters
| Name | Type | Description |
|---|---|---|
network_id |
string |
The GUID of the Network object, i.e. ISIAPINetwork.Network_id. This is different from the "Network ID" in the Network Data dialog, i.e. ISIAPINetwork.NetworkID. |
Returns ISIAPINetwork