ESRI.ArcGIS.Mobile.Client
FindLayer Method
See Also  Send Feedback
ESRI.ArcGIS.Mobile.Client Namespace > Project Class : FindLayer Method

mobileCacheDir
Name of MobileCache Cache Directory that the FeatureLayer exists in
layerName
Name of Layer to find
Finds a Layer with a specified name in the MobileCache

Syntax

Visual Basic (Declaration) 
Public Function FindLayer( _
   ByVal mobileCacheDir As String, _
   ByVal layerName As String _
) As Layer
C# 
public Layer FindLayer( 
   string mobileCacheDir,
   string layerName
)

Parameters

mobileCacheDir
Name of MobileCache Cache Directory that the FeatureLayer exists in
layerName
Name of Layer to find

Return Value

FeatureLayer if found, null if not found

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2010 All Rights Reserved.