开发者

Convert raw bytes to a type in .NET

开发者 https://www.devze.com 2023-03-01 02:06 出处:网络
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 hack

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,

0

精彩评论

暂无评论...
验证码 换一张
取 消