Exists Method

public bool Exists(ObjectType classType, string issuer, string code);

Description

Checks to see if the object referenced by the given ObjectType, issuer, and code exists within the currently loaded datasource.

 

Example

void CoordTransform_Exists()

{

if(m_DataSource->Exists(GeoBase.ObjectType.GeodeticCoordSysType, BMG_T("BMG"),BMG_T("WGS84_coordinate_system"))

{

//Geodetic WGS84 exists in the DataSource

}

 

}