ArcGIS Runtime SDK for WPF - Library Reference
InsertItem Method
See Also 
ESRI.ArcGIS.Client.Local Namespace > WorkspaceInfoCollection Class : InsertItem Method

index
The zero-based index at which the WorkspaceInfo item should be inserted.
item
The WorkspaceInfo item to insert.
Inserts an element into the Collection at the specified index.

Syntax

Visual Basic (Declaration) 
Protected Overrides Sub InsertItem( _
   ByVal index As Integer, _
   ByVal item As WorkspaceInfo _
) 
C# 
protected override void InsertItem( 
   int index,
   WorkspaceInfo item
)

Parameters

index
The zero-based index at which the WorkspaceInfo item should be inserted.
item
The WorkspaceInfo item to insert.

Exceptions

ExceptionDescription
System.InvalidOperationExceptionDynamicWorkspaces property cannot be modified when the service is running.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.