Share via


TypeAttribute.CanConvertTo Property

Definition

Gets or sets the types this type can convert to.

public:
 property cli::array <Type ^> ^ CanConvertTo { cli::array <Type ^> ^ get(); void set(cli::array <Type ^> ^ value); };
public Type[] CanConvertTo { get; set; }
member this.CanConvertTo : Type[] with get, set
Public Property CanConvertTo As Type()

Property Value

Type[]

Remarks

Types that support explicit and implicit operator conversion as well as base types are included by default and don't need to be specified. String is also included for all types.

Applies to