> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class Mesh.ElementContainer

Namespace: [VM.Managed.DAFUL.FE](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.FE)\
Assembly: VMFE.dll

This struct is to represent the element container.

```csharp theme={null}
public sealed class Mesh.ElementContainer
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[Mesh.ElementContainer](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.FE.Mesh.ElementContainer.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkedObjects\<T>(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/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 [ElementContainer](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.FE.Mesh.ElementContainer.md) class.

```csharp theme={null}
public ElementContainer(Mesh meshParent, ElementType type, uint nIndexElementType)
```

#### Parameters

`meshParent` [Mesh](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.FE.Mesh.md)

The owner mesh.

`type` [ElementType](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/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 theme={null}
public uint Count { get; }
```

#### Property Value

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

### Mesh

Gets the mesh.

```csharp theme={null}
public Mesh Mesh { get; }
```

#### Property Value

[Mesh](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.FE.Mesh.md)

### Type

Gets the element type.

```csharp theme={null}
public ElementType Type { get; }
```

#### Property Value

[ElementType](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.FE.ElementType.md)

### this\[uint]

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

#### Property Value

[Element](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.FE.Element.md)
