ArcGIS API for WPF - Library Reference
OnDemandCacheSize Property
See Also  Send comments on this topic
ESRI.ArcGIS.Client Namespace > FeatureLayer Class : OnDemandCacheSize Property

Gets or sets the number of features held in cache beyond what is in the current extent when Mode is FeatureLayer.QueryMode.OnDemand.

Syntax

Visual Basic (Declaration) 
Public Property OnDemandCacheSize As Integer
C# 
public int OnDemandCacheSize {get; set;}

Property Value

The OnDemand cache count.

Remarks

This limit does not apply to selected features. Selected features are always in the graphics collection regardless of whether they are in the current extent or of they number more than the OnDemandCacheSize setting. The default value is 1000.

Requirements

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

See Also

© ESRI, Inc. All Rights Reserved.