How do you (can you) specify type parameter constraints? In particular, specify that the type must implement an interface or derive from a base class? For example, suppose you wanted to use functionality in the constraint (i.e. modify the table template in the example to include autogenerated cells in each row, displaying values provided by a constraint base class or interface the type parameter must implement?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
How do you (can you) specify type parameter constraints? In particular, specify that the type must implement an interface or derive from a base class? For example, suppose you wanted to use functionality in the constraint (i.e. modify the table template in the example to include autogenerated cells in each row, displaying values provided by a constraint base class or interface the type parameter must implement?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.