This document is archived and information here might be outdated.  Recommended version.


Get ESRI Assembly Name ArrayList Snippet (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference

Get ESRI Assembly Name ArrayList Snippet

Get an ArrayList of System.String values that containing the ESRI .NET Assembly names for ArcGIS Desktop and Engine.

[C#]
/// <summary>
/// Get an ArrayList of System.String values that containing the ESRI .NET Assembly names for ArcGIS Desktop and Engine.
/// </summary>
/// <returns>A System.Collections.ArrayList of System.String values.</returns>
/// <remarks>Some ESRI Assembly names may be prefaced with a sub-directory name (example: "Toolboxes\ESRI.ArcGIS.AnalysisTools"). The ArcGIS Desktop and Engine .NET Assemblies are located in the the (ArcGIS_Install_Folder]\DotNet directory structure on disk. For a typical ArcObjects installation this would be: "C:\Program Files\ArcGIS\DotNet".</remarks>
public System.Collections.ArrayList GetESRIAssemblyNameArrayList()
{

  System.Collections.ArrayList allESRIAssemblies=new System.Collections.ArrayList();

  allESRIAssemblies.Add("ESRI.ArcGIS.3DAnalyst");
  allESRIAssemblies.Add("ESRI.ArcGIS.3DAnalystUI");
  allESRIAssemblies.Add("ESRI.ArcGIS.ADF");
  allESRIAssemblies.Add("ESRI.ArcGIS.ADF.Connection");
  allESRIAssemblies.Add("Toolboxes\\ESRI.ArcGIS.AnalysisTools");
  allESRIAssemblies.Add("Toolboxes\\ESRI.ArcGIS.Analyst3DTools");
  allESRIAssemblies.Add("ESRI.ArcGIS.Animation");
  allESRIAssemblies.Add("ESRI.ArcGIS.AnimationUI");
  allESRIAssemblies.Add("ESRI.ArcGIS.ArcCatalog");
  allESRIAssemblies.Add("ESRI.ArcGIS.ArcCatalogUI");
  allESRIAssemblies.Add("ESRI.ArcGIS.ArcGlobe");
  allESRIAssemblies.Add("ESRI.ArcGIS.ArcMap");
  allESRIAssemblies.Add("ESRI.ArcGIS.ArcMapUI");
  allESRIAssemblies.Add("ESRI.ArcGIS.ArcReaderControl");
  allESRIAssemblies.Add("ESRI.ArcGIS.ArcScan");
  allESRIAssemblies.Add("ESRI.ArcGIS.ArcScene");
  allESRIAssemblies.Add("ESRI.ArcGIS.ArcWeb");
  allESRIAssemblies.Add("ESRI.ArcGIS.AxArcReaderControl");
  allESRIAssemblies.Add("ESRI.ArcGIS.AxControls");
  allESRIAssemblies.Add("ESRI.ArcGIS.AxGlobeControl");
  allESRIAssemblies.Add("ESRI.ArcGIS.AxLicenseControl");
  allESRIAssemblies.Add("ESRI.ArcGIS.AxMapControl");
  allESRIAssemblies.Add("ESRI.ArcGIS.AxPageLayoutControl");
  allESRIAssemblies.Add("ESRI.ArcGIS.AxPublisherControls");
  allESRIAssemblies.Add("ESRI.ArcGIS.AxReaderControl");
  allESRIAssemblies.Add("ESRI.ArcGIS.AxSceneControl");
  allESRIAssemblies.Add("ESRI.ArcGIS.AxTOCControl");
  allESRIAssemblies.Add("ESRI.ArcGIS.AxToolbarControl");
  allESRIAssemblies.Add("ESRI.ArcGIS.Cadastral");
  allESRIAssemblies.Add("ESRI.ArcGIS.CadastralUI");
  allESRIAssemblies.Add("ESRI.ArcGIS.Carto");
  allESRIAssemblies.Add("Toolboxes\\ESRI.ArcGIS.CartographyTools");
  allESRIAssemblies.Add("ESRI.ArcGIS.CartoUI");
  allESRIAssemblies.Add("ESRI.ArcGIS.Catalog");
  allESRIAssemblies.Add("ESRI.ArcGIS.CatalogUI");
  allESRIAssemblies.Add("ESRI.ArcGIS.Controls");
  allESRIAssemblies.Add("Toolboxes\\ESRI.ArcGIS.ConversionTools");
  allESRIAssemblies.Add("ESRI.ArcGIS.DataInterop");
  allESRIAssemblies.Add("Toolboxes\\ESRI.ArcGIS.DataInteroperabilityTools");
  allESRIAssemblies.Add("ESRI.ArcGIS.DataInteropUI");
  allESRIAssemblies.Add("Toolboxes\\ESRI.ArcGIS.DataManagementTools");
  allESRIAssemblies.Add("ESRI.ArcGIS.DataSourcesFile");
  allESRIAssemblies.Add("ESRI.ArcGIS.DataSourcesGDB");
  allESRIAssemblies.Add("ESRI.ArcGIS.DataSourcesNetCDF");
  allESRIAssemblies.Add("ESRI.ArcGIS.DataSourcesOleDB");
  allESRIAssemblies.Add("ESRI.ArcGIS.DataSourcesRaster");
  allESRIAssemblies.Add("ESRI.ArcGIS.DataSourcesRasterUI");
  allESRIAssemblies.Add("ESRI.ArcGIS.DataSourcesSMUUI");
  allESRIAssemblies.Add("ESRI.ArcGIS.DefenseSolutions");
  allESRIAssemblies.Add("ESRI.ArcGIS.Display");
  allESRIAssemblies.Add("ESRI.ArcGIS.DisplayUI");
  allESRIAssemblies.Add("ESRI.ArcGIS.Editor");
  allESRIAssemblies.Add("ESRI.ArcGIS.EditorExt");
  allESRIAssemblies.Add("ESRI.ArcGIS.Framework");
  allESRIAssemblies.Add("ESRI.ArcGIS.GeoAnalyst");
  allESRIAssemblies.Add("Toolboxes\\ESRI.ArcGIS.GeocodingTools");
  allESRIAssemblies.Add("ESRI.ArcGIS.Geodatabase");
  allESRIAssemblies.Add("ESRI.ArcGIS.GeoDatabaseDistributed");
  allESRIAssemblies.Add("ESRI.ArcGIS.GeoDatabaseDistributedUI");
  allESRIAssemblies.Add("ESRI.ArcGIS.GeoDatabaseExtensions");
  allESRIAssemblies.Add("ESRI.ArcGIS.GeoDatabaseUI");
  allESRIAssemblies.Add("ESRI.ArcGIS.Geometry");
  allESRIAssemblies.Add("ESRI.ArcGIS.Geoprocessing");
  allESRIAssemblies.Add("ESRI.ArcGIS.GeoprocessingUI");
  allESRIAssemblies.Add("ESRI.ArcGIS.Geoprocessor");
  allESRIAssemblies.Add("ESRI.ArcGIS.GeoReferenceUI");
  allESRIAssemblies.Add("ESRI.ArcGIS.GeoStatisticalAnalyst");
  allESRIAssemblies.Add("Toolboxes\\ESRI.ArcGIS.GeostatisticalAnalystTools");
  allESRIAssemblies.Add("ESRI.ArcGIS.GeoStatisticalAnalystUI");
  allESRIAssemblies.Add("ESRI.ArcGIS.GeoSurvey");
  allESRIAssemblies.Add("ESRI.ArcGIS.GISClient");
  allESRIAssemblies.Add("ESRI.ArcGIS.GlobeControl");
  allESRIAssemblies.Add("ESRI.ArcGIS.GlobeCore");
  allESRIAssemblies.Add("ESRI.ArcGIS.GlobeCoreUI");
  allESRIAssemblies.Add("ESRI.ArcGIS.LicenseControl");
  allESRIAssemblies.Add("Toolboxes\\ESRI.ArcGIS.LinearReferencingTools");
  allESRIAssemblies.Add("ESRI.ArcGIS.Location");
  allESRIAssemblies.Add("ESRI.ArcGIS.LocationUI");
  allESRIAssemblies.Add("ESRI.ArcGIS.MapControl");
  allESRIAssemblies.Add("ESRI.ArcGIS.Maplex");
  allESRIAssemblies.Add("ESRI.ArcGIS.MaplexUI");
  allESRIAssemblies.Add("Toolboxes\\ESRI.ArcGIS.MultidimensionTools");
  allESRIAssemblies.Add("ESRI.ArcGIS.NetworkAnalysis");
  allESRIAssemblies.Add("ESRI.ArcGIS.NetworkAnalyst");
  allESRIAssemblies.Add("Toolboxes\\ESRI.ArcGIS.NetworkAnalystTools");
  allESRIAssemblies.Add("ESRI.ArcGIS.NetworkAnalystUI");
  allESRIAssemblies.Add("ESRI.ArcGIS.Output");
  allESRIAssemblies.Add("ESRI.ArcGIS.OutputExtensions");
  allESRIAssemblies.Add("ESRI.ArcGIS.OutputExtensionsUI");
  allESRIAssemblies.Add("ESRI.ArcGIS.OutputUI");
  allESRIAssemblies.Add("ESRI.ArcGIS.PageLayoutControl");
  allESRIAssemblies.Add("ESRI.ArcGIS.Publisher");
  allESRIAssemblies.Add("ESRI.ArcGIS.PublisherControls");
  allESRIAssemblies.Add("ESRI.ArcGIS.PublisherUI");
  allESRIAssemblies.Add("ESRI.ArcGIS.ReaderControl");
  allESRIAssemblies.Add("Toolboxes\\ESRI.ArcGIS.SampleTools");
  allESRIAssemblies.Add("ESRI.ArcGIS.SceneControl");
  allESRIAssemblies.Add("ESRI.ArcGIS.Schematic");
  allESRIAssemblies.Add("ESRI.ArcGIS.SchematicUI");
  allESRIAssemblies.Add("ESRI.ArcGIS.Server");
  allESRIAssemblies.Add("ESRI.ArcGIS.SpatialAnalyst");
  allESRIAssemblies.Add("Toolboxes\\ESRI.ArcGIS.SpatialAnalystTools");
  allESRIAssemblies.Add("ESRI.ArcGIS.SpatialAnalystUI");
  allESRIAssemblies.Add("Toolboxes\\ESRI.ArcGIS.SpatialStatisticsTools");
  allESRIAssemblies.Add("ESRI.ArcGIS.SurveyDataEx");
  allESRIAssemblies.Add("ESRI.ArcGIS.SurveyExt");
  allESRIAssemblies.Add("ESRI.ArcGIS.SurveyPkgs");
  allESRIAssemblies.Add("ESRI.ArcGIS.System");
  allESRIAssemblies.Add("ESRI.ArcGIS.SystemUI");
  allESRIAssemblies.Add("ESRI.ArcGIS.TOCControl");
  allESRIAssemblies.Add("ESRI.ArcGIS.ToolbarControl");
  allESRIAssemblies.Add("ESRI.ArcGIS.TrackingAnalyst");
  allESRIAssemblies.Add("ESRI.ArcGIS.TrackingAnalystUI");
  allESRIAssemblies.Add("ESRI.ArcGIS.Utility");

  return allESRIAssemblies;

}
[Visual Basic .NET]
''' <summary>
''' Get an ArrayList of System.String values that containing the ESRI .NET Assembly names for ArcGIS Desktop and Engine.
''' </summary>
''' <returns>A System.Collections.ArrayList of System.String values.</returns>
''' <remarks>Some ESRI Assembly names may be prefaced with a sub-directory name (example: "Toolboxes\ESRI.ArcGIS.AnalysisTools"). The ArcGIS Desktop and Engine .NET Assemblies are located in the the (ArcGIS_Install_Folder]\DotNet directory structure on disk. For a typical ArcObjects installation this would be: "C:\Program Files\ArcGIS\DotNet".</remarks>
Public Function GetESRIAssemblyNameArrayList() As System.Collections.ArrayList

    Dim allESRIAssemblies As New System.Collections.ArrayList

    allESRIAssemblies.Add("ESRI.ArcGIS.3DAnalyst")
    allESRIAssemblies.Add("ESRI.ArcGIS.3DAnalystUI")
    allESRIAssemblies.Add("ESRI.ArcGIS.ADF")
    allESRIAssemblies.Add("ESRI.ArcGIS.ADF.Connection")
    allESRIAssemblies.Add("Toolboxes\ESRI.ArcGIS.AnalysisTools")
    allESRIAssemblies.Add("Toolboxes\ESRI.ArcGIS.Analyst3DTools")
    allESRIAssemblies.Add("ESRI.ArcGIS.Animation")
    allESRIAssemblies.Add("ESRI.ArcGIS.AnimationUI")
    allESRIAssemblies.Add("ESRI.ArcGIS.ArcCatalog")
    allESRIAssemblies.Add("ESRI.ArcGIS.ArcCatalogUI")
    allESRIAssemblies.Add("ESRI.ArcGIS.ArcGlobe")
    allESRIAssemblies.Add("ESRI.ArcGIS.ArcMap")
    allESRIAssemblies.Add("ESRI.ArcGIS.ArcMapUI")
    allESRIAssemblies.Add("ESRI.ArcGIS.ArcReaderControl")
    allESRIAssemblies.Add("ESRI.ArcGIS.ArcScan")
    allESRIAssemblies.Add("ESRI.ArcGIS.ArcScene")
    allESRIAssemblies.Add("ESRI.ArcGIS.ArcWeb")
    allESRIAssemblies.Add("ESRI.ArcGIS.AxArcReaderControl")
    allESRIAssemblies.Add("ESRI.ArcGIS.AxControls")
    allESRIAssemblies.Add("ESRI.ArcGIS.AxGlobeControl")
    allESRIAssemblies.Add("ESRI.ArcGIS.AxLicenseControl")
    allESRIAssemblies.Add("ESRI.ArcGIS.AxMapControl")
    allESRIAssemblies.Add("ESRI.ArcGIS.AxPageLayoutControl")
    allESRIAssemblies.Add("ESRI.ArcGIS.AxPublisherControls")
    allESRIAssemblies.Add("ESRI.ArcGIS.AxReaderControl")
    allESRIAssemblies.Add("ESRI.ArcGIS.AxSceneControl")
    allESRIAssemblies.Add("ESRI.ArcGIS.AxTOCControl")
    allESRIAssemblies.Add("ESRI.ArcGIS.AxToolbarControl")
    allESRIAssemblies.Add("ESRI.ArcGIS.Cadastral")
    allESRIAssemblies.Add("ESRI.ArcGIS.CadastralUI")
    allESRIAssemblies.Add("ESRI.ArcGIS.Carto")
    allESRIAssemblies.Add("Toolboxes\ESRI.ArcGIS.CartographyTools")
    allESRIAssemblies.Add("ESRI.ArcGIS.CartoUI")
    allESRIAssemblies.Add("ESRI.ArcGIS.Catalog")
    allESRIAssemblies.Add("ESRI.ArcGIS.CatalogUI")
    allESRIAssemblies.Add("ESRI.ArcGIS.Controls")
    allESRIAssemblies.Add("Toolboxes\ESRI.ArcGIS.ConversionTools")
    allESRIAssemblies.Add("ESRI.ArcGIS.DataInterop")
    allESRIAssemblies.Add("Toolboxes\ESRI.ArcGIS.DataInteroperabilityTools")
    allESRIAssemblies.Add("ESRI.ArcGIS.DataInteropUI")
    allESRIAssemblies.Add("Toolboxes\ESRI.ArcGIS.DataManagementTools")
    allESRIAssemblies.Add("ESRI.ArcGIS.DataSourcesFile")
    allESRIAssemblies.Add("ESRI.ArcGIS.DataSourcesGDB")
    allESRIAssemblies.Add("ESRI.ArcGIS.DataSourcesNetCDF")
    allESRIAssemblies.Add("ESRI.ArcGIS.DataSourcesOleDB")
    allESRIAssemblies.Add("ESRI.ArcGIS.DataSourcesRaster")
    allESRIAssemblies.Add("ESRI.ArcGIS.DataSourcesRasterUI")
    allESRIAssemblies.Add("ESRI.ArcGIS.DataSourcesSMUUI")
    allESRIAssemblies.Add("ESRI.ArcGIS.DefenseSolutions")
    allESRIAssemblies.Add("ESRI.ArcGIS.Display")
    allESRIAssemblies.Add("ESRI.ArcGIS.DisplayUI")
    allESRIAssemblies.Add("ESRI.ArcGIS.Editor")
    allESRIAssemblies.Add("ESRI.ArcGIS.EditorExt")
    allESRIAssemblies.Add("ESRI.ArcGIS.Framework")
    allESRIAssemblies.Add("ESRI.ArcGIS.GeoAnalyst")
    allESRIAssemblies.Add("Toolboxes\ESRI.ArcGIS.GeocodingTools")
    allESRIAssemblies.Add("ESRI.ArcGIS.Geodatabase")
    allESRIAssemblies.Add("ESRI.ArcGIS.GeoDatabaseDistributed")
    allESRIAssemblies.Add("ESRI.ArcGIS.GeoDatabaseDistributedUI")
    allESRIAssemblies.Add("ESRI.ArcGIS.GeoDatabaseExtensions")
    allESRIAssemblies.Add("ESRI.ArcGIS.GeoDatabaseUI")
    allESRIAssemblies.Add("ESRI.ArcGIS.Geometry")
    allESRIAssemblies.Add("ESRI.ArcGIS.Geoprocessing")
    allESRIAssemblies.Add("ESRI.ArcGIS.GeoprocessingUI")
    allESRIAssemblies.Add("ESRI.ArcGIS.Geoprocessor")
    allESRIAssemblies.Add("ESRI.ArcGIS.GeoReferenceUI")
    allESRIAssemblies.Add("ESRI.ArcGIS.GeoStatisticalAnalyst")
    allESRIAssemblies.Add("Toolboxes\ESRI.ArcGIS.GeostatisticalAnalystTools")
    allESRIAssemblies.Add("ESRI.ArcGIS.GeoStatisticalAnalystUI")
    allESRIAssemblies.Add("ESRI.ArcGIS.GeoSurvey")
    allESRIAssemblies.Add("ESRI.ArcGIS.GISClient")
    allESRIAssemblies.Add("ESRI.ArcGIS.GlobeControl")
    allESRIAssemblies.Add("ESRI.ArcGIS.GlobeCore")
    allESRIAssemblies.Add("ESRI.ArcGIS.GlobeCoreUI")
    allESRIAssemblies.Add("ESRI.ArcGIS.LicenseControl")
    allESRIAssemblies.Add("Toolboxes\ESRI.ArcGIS.LinearReferencingTools")
    allESRIAssemblies.Add("ESRI.ArcGIS.Location")
    allESRIAssemblies.Add("ESRI.ArcGIS.LocationUI")
    allESRIAssemblies.Add("ESRI.ArcGIS.MapControl")
    allESRIAssemblies.Add("ESRI.ArcGIS.Maplex")
    allESRIAssemblies.Add("ESRI.ArcGIS.MaplexUI")
    allESRIAssemblies.Add("Toolboxes\ESRI.ArcGIS.MultidimensionTools")
    allESRIAssemblies.Add("ESRI.ArcGIS.NetworkAnalysis")
    allESRIAssemblies.Add("ESRI.ArcGIS.NetworkAnalyst")
    allESRIAssemblies.Add("Toolboxes\ESRI.ArcGIS.NetworkAnalystTools")
    allESRIAssemblies.Add("ESRI.ArcGIS.NetworkAnalystUI")
    allESRIAssemblies.Add("ESRI.ArcGIS.Output")
    allESRIAssemblies.Add("ESRI.ArcGIS.OutputExtensions")
    allESRIAssemblies.Add("ESRI.ArcGIS.OutputExtensionsUI")
    allESRIAssemblies.Add("ESRI.ArcGIS.OutputUI")
    allESRIAssemblies.Add("ESRI.ArcGIS.PageLayoutControl")
    allESRIAssemblies.Add("ESRI.ArcGIS.Publisher")
    allESRIAssemblies.Add("ESRI.ArcGIS.PublisherControls")
    allESRIAssemblies.Add("ESRI.ArcGIS.PublisherUI")
    allESRIAssemblies.Add("ESRI.ArcGIS.ReaderControl")
    allESRIAssemblies.Add("Toolboxes\ESRI.ArcGIS.SampleTools")
    allESRIAssemblies.Add("ESRI.ArcGIS.SceneControl")
    allESRIAssemblies.Add("ESRI.ArcGIS.Schematic")
    allESRIAssemblies.Add("ESRI.ArcGIS.SchematicUI")
    allESRIAssemblies.Add("ESRI.ArcGIS.Server")
    allESRIAssemblies.Add("ESRI.ArcGIS.SpatialAnalyst")
    allESRIAssemblies.Add("Toolboxes\ESRI.ArcGIS.SpatialAnalystTools")
    allESRIAssemblies.Add("ESRI.ArcGIS.SpatialAnalystUI")
    allESRIAssemblies.Add("Toolboxes\ESRI.ArcGIS.SpatialStatisticsTools")
    allESRIAssemblies.Add("ESRI.ArcGIS.SurveyDataEx")
    allESRIAssemblies.Add("ESRI.ArcGIS.SurveyExt")
    allESRIAssemblies.Add("ESRI.ArcGIS.SurveyPkgs")
    allESRIAssemblies.Add("ESRI.ArcGIS.System")
    allESRIAssemblies.Add("ESRI.ArcGIS.SystemUI")
    allESRIAssemblies.Add("ESRI.ArcGIS.TOCControl")
    allESRIAssemblies.Add("ESRI.ArcGIS.ToolbarControl")
    allESRIAssemblies.Add("ESRI.ArcGIS.TrackingAnalyst")
    allESRIAssemblies.Add("ESRI.ArcGIS.TrackingAnalystUI")
    allESRIAssemblies.Add("ESRI.ArcGIS.Utility")

    Return allESRIAssemblies

End Function

Additional Requirements
  • The code in this document requires the following References added to the Visual Studio project:
  • System