ArcObjects Library Reference (System)  

IStringArray Interface

Provides access to members that control string arrays.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

The IStringArray interface provides methods and properties for inserting, removing and accessing elements in a StrArray via a zero-based index.

Members

Description
Method Add Add an element.
Read-only property Count The element count.
Read/write property Element An element in the array.
Method Insert Add an element at the specified posiiton.
Method Remove Removes element at the specified position.
Method RemoveAll Removes all elements.

CoClasses that implement IStringArray

CoClasses and Classes Description
Names (esriGeoDatabase) An object to hold a collection of names.
StrArray An object for holding a String array.

.NET Snippets

Set Solver Properties | Set Service Area Properties | Statements - Set Service Area Properties | Set Service Area Properties2 | Statements - Set Solver Properties |

.NET Samples

ArcGIS GPConsole (Code Files: Program) | Closest facility application using the NAServer extension in ArcGIS Server via a GIS server (Code Files: ClosestFacility_GISServerAPIClass) | Closest facility solver (Code Files: frmClosestFacilitySolver) | Create a custom raster function (Code Files: WatermarkFunction) | Create a custom raster type (Code Files: ThumbnailBuilder) | Network Analyst Engine application (Code Files: frmNALayerProperties) | Origin-destination cost matrix solver (Code Files: frmODCostMatrixSolver) | Package a PMF (Code Files: PackagePMF) | Route application using the NAServer extension in ArcGIS Server via a GIS client (Code Files: Route_GISClientClass) | Route application using the NAServer extension in ArcGIS Server via a GIS server (Code Files: Route_GISServerAPIClass) | Route layer (Code Files: Program) | Service area application using the NAServer extension in ArcGIS Server via a GIS server (Code Files: ServiceArea_GISServerAPIClass) | Service area solver (Code Files: frmServiceAreaSolver) | Using HookActions in custom commands (Code Files: hookActionsCallout hookActionsLabel) | Vehicle routing problem solver (Code Files: frmVRPSolver) |

.NET Related Topics

DefenseSolutions | Geoprocessing services | How to convert coordinate arrays | How to create a network dataset | Publisher | Working with SQL workspaces |