> For the complete documentation index, see [llms.txt](https://docs.yarnspinner.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yarnspinner.dev/3.1/api/csharp/yarn/yarn.constanttypeproperty.md).

# ConstantTypeProperty

Class in [Yarn](/3.1/api/csharp/yarn.md)

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](/3.1/api/csharp/yarn/yarn.constanttypeproperty/yarn.constanttypeproperty.description.md) | Gets a string describing this property.         |
| [Type](/3.1/api/csharp/yarn/yarn.constanttypeproperty/yarn.constanttypeproperty.type.md)               | Gets the type of this property.                 |
| [Value](/3.1/api/csharp/yarn/yarn.constanttypeproperty/yarn.constanttypeproperty.value.md)             | Gets the value that is stored in this property. |
