ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer
GeocodeFunctionality Constructor(String,GeocodeResourceBase)
See Also 
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 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.

See Also

© 2010 All Rights Reserved.