---
title: "StructuralMetadata.CreateEnum"
url: "https://reference.aspose.com/3d/net/aspose.threed.formats.gltf/structuralmetadata/createenum/"
product: "Aspose.3D for .NET API Reference"
description: "StructuralMetadata method. Create an enum type"
---

## StructuralMetadata.CreateEnum method

Create an enum type

```csharp
public EnumType CreateEnum(string name)
```

| Parameter | Type | Description |
| --- | --- | --- |
| name | String | The enum type's name |

### Return Value

Instance of the enum type

### Exceptions

| exception | condition |
| --- | --- |
| ArgumentException |  |

### See Also

* class [EnumType](../../structuralmetadata.enumtype/)
* class [StructuralMetadata](../)
* namespace [Aspose.ThreeD.Formats.GLTF](../../structuralmetadata/)
* assembly [Aspose.3D](../../../)


