Api Sandbox TargetTypeAttribute
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.
Assembly: Sandbox.System Namespace: Sandbox Full Name: Sandbox.TargetTypeAttribute