> ## 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 EntityType

Namespace: [VM.Models.Pre](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre)\
Assembly: VM.Models.Pre.dll

```csharp theme={null}
public class EntityType
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[EntityType](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.EntityType.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/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-r1/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-r1/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### EntityType(string, string, MainTypes, SubTypes, string, string)

```csharp theme={null}
[JsonConstructor]
public EntityType(string typeName, string displayName, MainTypes mainType, SubTypes subType, string mainTypeAbbreviation, string subTypeAbbreviation)
```

#### Parameters

`typeName` [string](https://learn.microsoft.com/dotnet/api/system.string)

`displayName` [string](https://learn.microsoft.com/dotnet/api/system.string)

`mainType` [MainTypes](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.MainTypes.md)

`subType` [SubTypes](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.SubTypes.md)

`mainTypeAbbreviation` [string](https://learn.microsoft.com/dotnet/api/system.string)

`subTypeAbbreviation` [string](https://learn.microsoft.com/dotnet/api/system.string)

## Properties

### DisplayName

```csharp theme={null}
public string DisplayName { get; }
```

#### Property Value

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

### MainType

```csharp theme={null}
[JsonConverter(typeof(StringEnumConverter))]
public MainTypes MainType { get; }
```

#### Property Value

[MainTypes](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.MainTypes.md)

### MainTypeAbbreviation

```csharp theme={null}
public string MainTypeAbbreviation { get; }
```

#### Property Value

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

### SubType

```csharp theme={null}
[JsonConverter(typeof(StringEnumConverter))]
public SubTypes SubType { get; }
```

#### Property Value

[SubTypes](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.SubTypes.md)

### SubTypeAbbreviation

```csharp theme={null}
public string SubTypeAbbreviation { get; }
```

#### Property Value

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

### TypeName

```csharp theme={null}
public string TypeName { get; }
```

#### Property Value

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

## Methods

### TryGetEntityType(string, out EntityType)

```csharp theme={null}
public static bool TryGetEntityType(string typeName, out EntityType entityType)
```

#### Parameters

`typeName` [string](https://learn.microsoft.com/dotnet/api/system.string)

`entityType` [EntityType](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.EntityType.md)

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)
