![]() ![]() |
ESRI.ArcGIS.ADF.IMS | |
Initialize Method | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.IMS.Carto Namespace > MapService Class : Initialize Method |
Visual Basic (Declaration) | |
---|---|
Public Sub Initialize() |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As MapService instance.Initialize() |
C# | |
---|---|
public void Initialize() |
This method causes the application to connect to the ArcIMS server and retrieve service information about the map service. Once called, properties of the MapService object may be accessed and methods to create a MapView or LayoutView may be used.
This method is required only when the MapService is created with the initializeOnConstruction parameter set to false.
Initialize may be called again to retrieve a more complete set of information about the map service. For example, if during construction of MapService, the LoadFields property of InitializationParameters object is set to false, you can later call Initialize with InitializationParameters.LoadFields set to true so that field information is retrieved. You would then need to construct a new MapView so that this information is passed to the MapView. A previously created MapView object would not contain the fields information.
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