arcengine 文件夹连接
Provides access to members that manages a GX catalog.
Product Availability
Description
The GxCatalog object implements the IGxCatalog interface. It lets you connect and disconnect folder objects. It also maintains the file filter associated with ArcCatalog.
The GxCatalog object represents your actual tree of data, as is shown in the tree view (the top-level object in the tree view). From the GxCatalog object, you can navigate to any of its descendants to access and manipulate them. The GxCatalog object is a type of GxObject and a type of GxObjectContainer because it is an item in the tree view and it contains additional GxObjects.
The GxCatalog object is also an event source, as it monitors the adding, deleting, and changing of the GxObjects within the Catalog through the IGxCatalogEvents interface.
Members
Description | ||
---|---|---|
![]() |
Close | Closes the catalog object. Clients that create a catalog object must call this method when they are finished using it. |
![]() |
ConnectFolder | Adds a folder connection to the catalog and returns the folder object. |
![]() |
ConstructFullName | Constructs the full name for an object. |
![]() |
DisconnectFolder | Removes a folder connection from the catalog. |
![]() |
FileFilter | The file filter. |
![]() |
GetObjectFromFullName | Finds an object in the catalog tree given its full name. Returns a Variant containing an IGxObject or IEnumGxObject (if duplicate names were encountered), along with the number of objects found. |
![]() |
Location | The location to the specified path. If the path isn't yet part of the catalog, it is added as a folder connection. |
![]() |
ObjectAdded | Called when a new object has been added to part of the catalog. |
![]() |
ObjectChanged | Called when an existing object from part of the catalog has been changed. |
![]() |
ObjectDeleted | Called when an existing object has been deleted from part of the catalog. |
![]() |
ObjectRefreshed | Called when an existing object has been refreshed. |
![]() |
SelectedObject | The first selected object, or the location if no objects are selected. |
![]() |
Selection | The selection. |
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· winform 绘制太阳,地球,月球 运作规律
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· AI与.NET技术实操系列(五):向量存储与相似性搜索在 .NET 中的实现
· 超详细:普通电脑也行Windows部署deepseek R1训练数据并当服务器共享给他人
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
2012-08-14 ArcEngine开发之Command控件使用篇