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

index
The zero-based index of the element to remove.
Removes the WorkspaceInfo item at the specified index of the collection.

Syntax

Visual Basic (Declaration) 
Protected Overrides Sub RemoveItem( _
   ByVal index As Integer _
) 
C# 
protected override void RemoveItem( 
   int index
)

Parameters

index
The zero-based index of the element to remove.

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.