CascadingTypeParameterAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Denotes the generic type parameter as cascading. This allows generic type inference to use this type parameter value automatically on descendants that also have a type parameter with the same name.
[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
- Inheritance
-
CascadingTypeParameterAttribute
- Attributes
Constructors
CascadingTypeParameterAttribute(String) |
Constructs an instance of CascadingTypeParameterAttribute. |
Properties
Name |
Gets the name of the type parameter. |