ESRI.ArcGIS.ADF.ArcGISServer.Editor
EditorTool Constructor(String,String,Boolean,ToolGeometry,Int32)
See Also 
ESRI.ArcGIS.ADF.ArcGISServer.Editor.Tools Namespace > EditorTool Class > EditorTool Constructor : EditorTool Constructor(String,String,Boolean,ToolGeometry,Int32)




name
The name of the tool.
mapID
The ClientID of the map control used for editing with this tool.
useSnapping
Whether the input geometry should have the configured snapping settings applied.
geometryType
The type of geometry the tool operates on.
minSelectedFeatures
The minimum number of features that must be selected for the tool to operate.
Creates an EditorTool instance.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal name As String, _
   ByVal mapID As String, _
   ByVal useSnapping As Boolean, _
   ByVal geometryType As ToolGeometry, _
   ByVal minSelectedFeatures As Integer _
)
Visual Basic (Usage)Copy Code
Dim name As String
Dim mapID As String
Dim useSnapping As Boolean
Dim geometryType As ToolGeometry
Dim minSelectedFeatures As Integer
 
Dim instance As EditorTool(name, mapID, useSnapping, geometryType, minSelectedFeatures)
C# 
public EditorTool( 
   string name,
   string mapID,
   bool useSnapping,
   ToolGeometry geometryType,
   int minSelectedFeatures
)

Parameters

name
The name of the tool.
mapID
The ClientID of the map control used for editing with this tool.
useSnapping
Whether the input geometry should have the configured snapping settings applied.
geometryType
The type of geometry the tool operates on.
minSelectedFeatures
The minimum number of features that must be selected for the tool to operate.

See Also

© 2010 All Rights Reserved.