<GuidAttribute("EBAF6DBE-7E4F-45F8-B56B-AD9024E5F46A"), _ ClassInterface(ClassInterfaceType.None), _ ProgId("AGISExtension.cAGISExtension"), _ ComVisible(True)> _ Public Class cAGISExtension Implements IAGISExtension Implements ESRI.ArcGIS.esriSystem.IExtension
#Region "COM Registration Functions" ' Add the registration funcions that will be executed when ESRIRegAsm is ' run on the generated dll. This will register with the ArcMap ' extensions category. <ComRegisterFunction(), ComVisible(False)> _ Shared Sub RegisterFunction(ByVal registerType As Type) Dim regKey As String = String.Format("HKEY_CLASSES_ROOT\CLSID\{{{0}}}", registerType.GUID) MxExtension.Register(regKey) End Sub <ComUnregisterFunction(), ComVisible(False)> _ Shared Sub UnregisterFunction(ByVal registerType As Type) Dim regKey As String = String.Format("HKEY_CLASSES_ROOT\CLSID\{{{0}}}", registerType.GUID) MxExtension.Unregister(regKey) End Sub #End Region
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.