Convert raw bytes to a type in .NET
I have the raw bytes of a COM object (ESRI IPOINT) in a SQL DB. I want to somehow force the casting of it to an IP开发者_JAVA百科OINT. I tried IPoint p = object as IPOINT which failed. Is there some hacky way to force raw bytes into an object for which there isn't a converter written?
It sounds like you're trying to access a GeoDatabase file.
Here's some info on making a connection: Connect to a Personal Geodatabase and How to connect to a geodatabase
I guess the appropriate way is to do this is to use a QueryFilter,
精彩评论