ESRI.ArcGIS.ADF.Web.DataSources.Graphics
Supports Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources.Graphics Namespace > MapFunctionality Class : Supports Method




operation
Operations are names of members (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 MapFunctionality
Dim operation As String
Dim value As Boolean
 
value = instance.Supports(operation)
C# 
public bool Supports( 
   string operation
)

Parameters

operation
Operations are names of members (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 operation is supported, false if unsupported.

Remarks

The following operations are not supported:



GetCopyrightText, GetScale, GetVisibleScale, Units.

See Also

© 2010 All Rights Reserved.