ESRI.ArcGIS.ADF.Web.DataSources.IMS
MapResource Constructor(String,GISDataSource)
See Also 
ESRI.ArcGIS.ADF.Web.DataSources.IMS Namespace > MapResource Class > MapResource Constructor : MapResource Constructor(String,GISDataSource)




name
Name for the map resource.
dataSource
The GIS data source for the map resource.
Constructor taking the name and data source for the resource.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal name As String, _
   ByVal dataSource As GISDataSource _
)
Visual Basic (Usage)Copy Code
Dim name As String
Dim dataSource As GISDataSource
 
Dim instance As MapResource(name, dataSource)
C# 
public MapResource( 
   string name,
   GISDataSource dataSource
)

Parameters

name
Name for the map resource.
dataSource
The GIS data source for the map resource.

See Also

© 2010 All Rights Reserved.