ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer
GeocodeFunctionality Constructor(String,GeocodeResourceBase)
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer Namespace > GeocodeFunctionality Class > GeocodeFunctionality Constructor : GeocodeFunctionality Constructor(String,GeocodeResourceBase)




name
Name for the functionality.
resource
The geocode resource to use for the functionality.
Constructs a new GeocodeFunctionality.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal name As String, _
   ByVal resource As GeocodeResourceBase _
)
Visual Basic (Usage)Copy Code
Dim name As String
Dim resource As GeocodeResourceBase
 
Dim instance As New GeocodeFunctionality(name, resource)
C# 
public GeocodeFunctionality( 
   string name,
   GeocodeResourceBase resource
)

Parameters

name
Name for the functionality.
resource
The geocode resource to use for the functionality.

Remarks

Rather than using this constructor, typically it is recommended to create the GeocodeFunctionality using the a GIS resource's CreateFunctionality method. If the Page has a GeocodeResourceManager with the geocoding service added, you can obtain the resource from the GeocodeResourceManager, then use the geocode resource's CreateFunctionality method to create the GeocodeFunctionality.

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.