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




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 GeocodeResource _
)
Visual Basic (Usage)Copy Code
Dim name As String
Dim resource As GeocodeResource
 
Dim instance As GeocodeFunctionality(name, resource)
C# 
public GeocodeFunctionality( 
   string name,
   GeocodeResource 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.

See Also

© 2010 All Rights Reserved.