# ConstantTypeProperty

Class in [Yarn](https://docs.yarnspinner.dev/api/csharp/yarn)

Inherits from `System.Object`

## Summary

Represents a property that belongs to a type and contains a read-only value.

```csharp
public class ConstantTypeProperty : ITypeMember
```

## Remarks

This kind of type member is useful for constant properties, like enum cases.

## Properties

| Name                                                                                                                        | Description                                     |
| --------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------- |
| [Description](https://docs.yarnspinner.dev/api/csharp/yarn/yarn.constanttypeproperty/yarn.constanttypeproperty.description) | Gets a string describing this property.         |
| [Type](https://docs.yarnspinner.dev/api/csharp/yarn/yarn.constanttypeproperty/yarn.constanttypeproperty.type)               | Gets the type of this property.                 |
| [Value](https://docs.yarnspinner.dev/api/csharp/yarn/yarn.constanttypeproperty/yarn.constanttypeproperty.value)             | Gets the value that is stored in this property. |
