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. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for