ESRI.ArcGIS.ADF.IMS
ImageLayer Constructor(ImageDataset)
See Also 
ESRI.ArcGIS.ADF.IMS.Carto.Layer Namespace > ImageLayer Class > ImageLayer Constructor : ImageLayer Constructor(ImageDataset)




dataset
Dataset of the constructed ImageLayer.
Constructs an ImageLayer object.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal dataset As ImageDataset _
)
Visual Basic (Usage)Copy Code
Dim dataset As ImageDataset
 
Dim instance As ImageLayer(dataset)
C# 
public ImageLayer( 
   ImageDataset dataset
)

Parameters

dataset
Dataset of the constructed ImageLayer.

Example

For an example of creating a new ImageLayer from a new data set, see the ImageLayer(string, ImageDataset) Method

Remarks

This method enables creation of dynamic layers, which are new map layers based on spatial data not currently used in the map service. To add a new layer not yet in the map service, you must define the ImageDataset, which specifies the name of the data layer. In the FeatureDataset you must also define the workspace, which can be an existing workspace in the map service (NamedWorkspace) or a new workspace (SdeWorkspace or ImageWorkspace).

Dynamic layers are not supported with ArcMap image services.

If the layer will be added to the map's layer collection, then the ID of the ImageLayer must be set.

See Also

© 2010 All Rights Reserved.