    

 ## On this page

  

 

 # Class Mesh.ElementContainer

 Last update: 16.07.2025 

Namespace: [VM.Managed.DAFUL.FE](VM.Managed.DAFUL.FE.md)  
Assembly: VMFE.dll

This struct is to represent the element container.

```csharp
public sealed class Mesh.ElementContainer

```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← [Mesh.ElementContainer](VM.Managed.DAFUL.FE.Mesh.ElementContainer.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkedObjects&lt;T&gt;(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### ElementContainer(Mesh, ElementType, uint)

Initializes a new instance of the  class.

```csharp
public ElementContainer(Mesh meshParent, ElementType type, uint nIndexElementType)

```

#### Parameters

`meshParent` [Mesh](VM.Managed.DAFUL.FE.Mesh.md)

The owner mesh.

`type` [ElementType](VM.Managed.DAFUL.FE.ElementType.md)

The element type.

`nIndexElementType` [uint](https://learn.microsoft.com/dotnet/api/system.uint32)

The index of element type.

## Properties

### Count

Gets the count.

```csharp
public uint Count { get; }

```

#### Property Value

[uint](https://learn.microsoft.com/dotnet/api/system.uint32)

### Mesh

Gets the mesh.

```csharp
public Mesh Mesh { get; }

```

#### Property Value

[Mesh](VM.Managed.DAFUL.FE.Mesh.md)

### Type

Gets the element type.

```csharp
public ElementType Type { get; }

```

#### Property Value

[ElementType](VM.Managed.DAFUL.FE.ElementType.md)

### this\[uint\]

```csharp
public Element this[uint nIndex] { get; set; }

```

#### Property Value

[Element](VM.Managed.DAFUL.FE.Element.md)