> 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/api/csharp/yarn/yarn.constanttypeproperty.md).

# ConstantTypeProperty

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