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

Gets or sets the numeric identifier of the sub-layer in the time-enabled ArcGISDynamicMapServiceLayer for which TimeOption rendering will occur.

Syntax

Visual Basic (Declaration) 
Public Property LayerId As String
C# 
public string LayerId {get; set;}

Remarks

The TimeOption.LayerId is a String. Developers should cast the ArcGISDynamicMapServiceLayer.Layers.ID (an Integer) to a String when setting the TimeOption.LayerId.

Requirements

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

See Also

© ESRI, Inc. All Rights Reserved.