ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer
Supports Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer Namespace > ImageMapFunctionality Class : Supports Method




operation
The operation is the name of a member (methods, properties) on the functionality class.



For example, IMapFunctionality has a GetScale method. To check for support, call the Supports method and provide the method name as the input parameter. For example mapFunctionality.Supports("GetScale").
Determines if the functionality supports an operation.

Syntax

Visual Basic (Declaration) 
Public Function Supports( _
   ByVal operation As String _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As ImageMapFunctionality
Dim operation As String
Dim value As Boolean
 
value = instance.Supports(operation)
C# 
public bool Supports( 
   string operation
)

Parameters

operation
The operation is the name of a member (methods, properties) on the functionality class.



For example, IMapFunctionality has a GetScale method. To check for support, call the Supports method and provide the method name as the input parameter. For example mapFunctionality.Supports("GetScale").

Return Value

True if supports the operation, false if unsupported.

Remarks

This method may be used to test whether the map functionality and data source support an operation. An example is "DrawExtent": if this method returns false, then the DrawExtent method cannot be used with this map functionality (may be true if the data source only supports returning pre-created map tiles, rather than dynamic map images).

See Also

© 2010 All Rights Reserved.