CascadingTypeParameterAttribute Třída
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Označuje parametr obecného typu jako kaskádový. To umožňuje odvození obecného typu použít tuto hodnotu parametru typu automaticky u potomků, kteří mají také parametr typu se stejným názvem.
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=false)]
public sealed class CascadingTypeParameterAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=false)>]
type CascadingTypeParameterAttribute = class
inherit Attribute
Public NotInheritable Class CascadingTypeParameterAttribute
Inherits Attribute
- Dědičnost
-
CascadingTypeParameterAttribute
- Atributy
Konstruktory
| CascadingTypeParameterAttribute(String) |
Vytvoří instanci CascadingTypeParameterAttribute. |
Vlastnosti
| Name |
Získá název parametru typu. |