Converts an array of Web ADF points to an ArcGIS (ArcObjects) point
collection.
Syntax
Visual Basic (Declaration) | |
---|
Public Shared Function ToIPointCollection( _
ByVal points() As Point, _
ByVal context As IServerContext _
) As IPointCollection |
Visual Basic (Usage) | Copy Code |
---|
Dim points() As Point
Dim context As IServerContext
Dim value As IPointCollection
value = Converter.ToIPointCollection(points, context)
|
C# | |
---|
public static IPointCollection ToIPointCollection(
Point[] points,
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).
See Also