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

Removes all WorkspaceInfo items from the Collection.

Syntax

Visual Basic (Declaration) 
Protected Overrides Sub ClearItems() 
C# 
protected override void ClearItems()

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.