ESRI.ArcGIS.ADF.Web.DataSources.IMS
MapResource Constructor(String,GISDataSource)
See Also  Send Feedback
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 New 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.

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

© 2011 All Rights Reserved.