FDO .NET API Reference Feature Data Objects
System::Byte OSGeo::FDO::Commands::Feature::IFeatureReaderImp::GetGeometry ( System::String *  propertyName  ) 

Gets the geometry value of the specified property as a byte array in FGF format. Because no conversion is performed, the property must be of Geometric type; otherwise, an exception is thrown. This method is a language-specific performance optimization that returns a pointer to the array data, rather than to an object that encapsulates the array. The array's memory area is only guaranteed to be valid until a call to ReadNext() or Close(), or the disposal of this reader object.

Parameters:
propertyName Input the property name.
Returns:
Returns a pointer to the byte array in FGF format.

Reimplemented from OSGeo::FDO::Commands::Feature::IReaderImp.


Comments or suggestions? Send us feedback.