ESRI.ArcGIS.ADF.Web.DataSources.IMS
CreateFunctionality Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources.IMS Namespace > MapResource Class : CreateFunctionality Method




functionalityType
The interface for the functionality to be created, e.g., IQueryFunctionality.
functionalityName
Name for the functionality.
Creates the requested functionality.

Syntax

Visual Basic (Declaration) 
Public Overrides Function CreateFunctionality( _
   ByVal functionalityType As Type, _
   ByVal functionalityName As String _
) As IGISFunctionality
Visual Basic (Usage)Copy Code
Dim instance As MapResource
Dim functionalityType As Type
Dim functionalityName As String
Dim value As IGISFunctionality
 
value = instance.CreateFunctionality(functionalityType, functionalityName)
C# 
public override IGISFunctionality CreateFunctionality( 
   Type functionalityType,
   string functionalityName
)

Parameters

functionalityType
The interface for the functionality to be created, e.g., IQueryFunctionality.
functionalityName
Name for the functionality.

Return Value

The created functionality.

Remarks

Be sure to check whether the functionality type is supported with SupportsFunctionality before attempting to create it. Typically used to create a IQueryFunctionality for querying a map resource.

See Also

© 2010 All Rights Reserved.