Action<(Of <(<'T>)>)> Delegate
Encapsulates a method that has a single parameter and does not return a value.To browse the .NET Framework source code for this type, see the Reference Source.
Namespace:
SystemAssembly: Bridge (in Bridge.dll)
Syntax
[NameAttribute] [IgnoreCastAttribute] [IgnoreGenericAttribute] [ExternalAttribute] public delegate void Action<T>( T arg )
<NameAttribute> _ <IgnoreCastAttribute> _ <IgnoreGenericAttribute> _ <ExternalAttribute> _ Public Delegate Sub Action(Of T) ( _ arg As T _ )
[NameAttribute] [IgnoreCastAttribute] [IgnoreGenericAttribute] [ExternalAttribute] generic<typename T> public delegate void Action( T arg )
Type Parameters
- T
- The type of the parameter of the method that this delegate encapsulates.This type parameter is contravariant. That is, you can use either the type you specified or any type that is less derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.
Parameters
- arg
- Type: T