FDO .NET API Reference Feature Data Objects
System::Boolean OSGeo::FDO::Xml::XmlFeatureHandler::FeatureBinaryData ( OSGeo::FDO::Xml::XmlFeatureContext context,
System::Byte  buffer[] 
)

Default Feature callback that is called when the XmlFeaturePropertyReader reads a chunk of data for a Raster or BLOB property. Does nothing by default. This function may be called multiple times for the same property, if the the property value is large. Applications must not make any assumptions about the chunk size or number of chunks for each property.

Parameters:
context Input caller specified contextual information
buffer Input the next chunk of binary content in unencoded form. An exception is thrown if the content cannot be decoded.
Returns:
Returning true causes the current parse to stop. Returning false causes the parse to continue. Return value is ignored if the current parse is not an incremental parse ( see XmlFeaturePropertyReader::Parse())


Comments or suggestions? Send us feedback.