GeometryExtensionToPolygons Method |
Convert a IPolygon list to a WebPolygon list.
Namespace: ArtDatabanken.DataAssembly: ArtDatabanken.Data (in ArtDatabanken.Data.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax public static List<WebPolygon> ToPolygons(
this List<IPolygon> polygons
)
<ExtensionAttribute>
Public Shared Function ToPolygons (
polygons As List(Of IPolygon)
) As List(Of WebPolygon)
public:
[ExtensionAttribute]
static List<WebPolygon^>^ ToPolygons(
List<IPolygon^>^ polygons
)
[<ExtensionAttribute>]
static member ToPolygons :
polygons : List<IPolygon> -> List<WebPolygon>
Parameters
- polygons
- Type: System.Collections.GenericListIPolygon
A IPolygon list instance.
Return Value
Type:
ListWebPolygonA WebPolygon list.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ListIPolygon. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also