async public Task <IDatasetElement> Element(string DatasetElementTitle) { if (_fdb == null) { return(null); } IDatasetElement element = await _fdb.DatasetElement(this, DatasetElementTitle); if (element != null && element.Class is AccessFDBFeatureClass) { ((AccessFDBFeatureClass)element.Class).SpatialReference = _sRef; } return(element); }
public IDatasetElement this[string DatasetElementTitle] { get { if (_fdb == null) { return(null); } IDatasetElement element = _fdb.DatasetElement(this, DatasetElementTitle); if (element != null && element.Class is AccessFDBFeatureClass) { ((AccessFDBFeatureClass)element.Class).SpatialReference = _sRef; } return(element); } }