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




name
Name to assign to the graphics map resource.
dataSource
Data source associated with the map resource.
Constructor.

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 to assign to the graphics map resource.
dataSource
Data source associated with 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.