文件名称:通过类工厂的方法实例化对象-基于AO的ArcGIS二次开发——COM类、接口及编程技巧
文件大小:857KB
文件格式:PPT
更新时间:2024-05-13 13:35:59
基于AO的ArcGIS二次开发——COM类、接口及编程技巧
通过类工厂的方法实例化对象: IWorkspaceFactory pWSF; IFeatureWorkspace pFWS; pWSF = new ShapefileWorkspaceFactoryClass(); pFWS=pWSF.OpenFromFile("d:\digitize", 0); pFWS = (IFeatureWorkspace)pWSF.OpenFromFile("d:\\digitize", 0); pFWS = pWSF.OpenFromFile("d:\\digitize", 0) as IFeatureWorkspace; *