class
TargetTypeAttribute
public sealed class TargetTypeAttribute : Attribute When applied to a Type property, allows you to specify a Type that the property's value must derive from.
Constructors
TargetTypeAttribute(Type type) Properties
| Name | Type | Description |
|---|---|---|
Type | Type | The type that the property's value must derive from. |