Converts an array of Web ADF points to an ArcGIS (ArcObjects) point collection.
Syntax
Visual Basic (Declaration) | |
---|
Public Shared Function ToIPointCollection( _
ByVal points() As ESRI.ArcGIS.ADF.Web.Geometry.Point, _
ByVal context As ESRI.ArcGIS.Server.IServerContext _
) As ESRI.ArcGIS.Geometry.IPointCollection |
Visual Basic (Usage) | Copy Code |
---|
Dim points() As ESRI.ArcGIS.ADF.Web.Geometry.Point
Dim context As ESRI.ArcGIS.Server.IServerContext
Dim value As ESRI.ArcGIS.Geometry.IPointCollection
value = Converter.ToIPointCollection(points, context) |
C# | |
---|
public static ESRI.ArcGIS.Geometry.IPointCollection ToIPointCollection(
ESRI.ArcGIS.ADF.Web.Geometry.Point[] points,
ESRI.ArcGIS.Server.IServerContext context
) |
Parameters
- points
- The array of Web ADF Point objects to convert.
- context
- The ArcGIS Server context (IServerContext), available when working with Local connections to ArcGIS Server.
Return Value
An ArcGIS (ArcObjects) point collection (
IPointCollection).
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also