# C1.FlexMap.GeoGeometryCollection.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_FlexMap_GeoGeometryCollection__ctor_" data-uid="C1.FlexMap.GeoGeometryCollection.#ctor*">GeoGeometryCollection Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_FlexMap_GeoGeometryCollection__ctor_" data-uid="C1.FlexMap.GeoGeometryCollection.#ctor*"></a>
<h4 id="C1_FlexMap_GeoGeometryCollection__ctor_C1_FlexMap_GeoGeometryType_System_Collections_Generic_IEnumerable_C1_FlexMap_GeoGeometry__" data-uid="C1.FlexMap.GeoGeometryCollection.#ctor(C1.FlexMap.GeoGeometryType,System.Collections.Generic.IEnumerable{C1.FlexMap.GeoGeometry})">GeoGeometryCollection(GeoGeometryType, IEnumerable&lt;GeoGeometry&gt;)</h4>
<div class="markdown level1 summary"><p>Creates a new instance of <a class="xref" href="C1.FlexMap.GeoGeometryCollection.html">GeoGeometryCollection</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected GeoGeometryCollection(GeoGeometryType type, IEnumerable&lt;GeoGeometry&gt; geometries)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Sub New(type As GeoGeometryType, geometries As IEnumerable(Of GeoGeometry))</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.FlexMap.GeoGeometryType.html">GeoGeometryType</a></td>
      <td><span class="parametername">type</span></td>
      <td><p>The geometry type.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="C1.FlexMap.GeoGeometry.html">GeoGeometry</a>&gt;</td>
      <td><span class="parametername">geometries</span></td>
      <td><p>The inner geometries enumerator.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_FlexMap_GeoGeometryCollection__ctor_" data-uid="C1.FlexMap.GeoGeometryCollection.#ctor*"></a>
<h4 id="C1_FlexMap_GeoGeometryCollection__ctor_System_Collections_Generic_IEnumerable_C1_FlexMap_GeoGeometry__" data-uid="C1.FlexMap.GeoGeometryCollection.#ctor(System.Collections.Generic.IEnumerable{C1.FlexMap.GeoGeometry})">GeoGeometryCollection(IEnumerable&lt;GeoGeometry&gt;)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.FlexMap.GeoGeometryCollection.html">GeoGeometryCollection</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public GeoGeometryCollection(IEnumerable&lt;GeoGeometry&gt; geometries)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(geometries As IEnumerable(Of GeoGeometry))</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="C1.FlexMap.GeoGeometry.html">GeoGeometry</a>&gt;</td>
      <td><span class="parametername">geometries</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
