TableCollectionTryGetTable Method | |
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Gets a
Table object from this collection specified by name.
Namespace:
Telogis.GeoBase.Transactional
Assembly:
geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax public bool TryGetTable(
string name,
out Table result
)
Public Function TryGetTable (
name As String,
<OutAttribute> ByRef result As Table
) As Boolean
Parameters
- name
- Type: SystemString
The name of the Table to return.
Case is not important. - result
- Type: Telogis.GeoBase.TransactionalTable
The named table.
Return Value
Type:
BooleanTrue if the the specified table was found.
Examples
Table myWarehouses;
if (!myTransactionalRepository.Tables.TryGetTable("Warehouses", out myWarehouses)) {
} else {
Record first = myWarehouses.GetRecord(0);
...
}
See Also