ArcGIS Extensibility SDK for Silverlight - Library Reference
SetIsVisibleInMapContents Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client.Extensibility Namespace > LayerProperties Class : SetIsVisibleInMapContents Method
layer
The layer to set visibility for
value
Whether or not the layer should be visible. True if so, false if not.
Sets whether the layer is visible in the application's list of map contents

Syntax

C# 
public static void SetIsVisibleInMapContents( 
   ESRI.ArcGIS.Client.Layer layer,
   bool value
)

Parameters

layer
The layer to set visibility for
value
Whether or not the layer should be visible. True if so, false if not.

Requirements

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

See Also

© Esri, Inc. All Rights Reserved.