A generic method with parameters of generic types from direct owner class and from its parent class.

Namespace: SampleClassLibrary
Assembly: SampleClassLibrary (in SampleClassLibrary.dll)

Public Sub Mm1(Of  _ 
T4)( _ 
ByVal x As T1, _ 
ByVal y As T2, _ 
ByVal z As T3, _ 
ByVal v As T4 _ 
)
This language is not supported or no code example is available.
public void Mm1<T4>( 
T1 x
T2 y
T3 z
T4 v 
)
This language is not supported or no code example is available.
generic<typename T4> 
public:  
void Mm1( 
T1^ x
T2^ y
T3^ z
T4^ v 
)
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.

Type Parameters

T4

Method's own type parameter.

Parameters

x
Type: T1

A parameter of generic type from parent class of direct owner class.

y
Type: T2

A parameter of generic type from parent class of direct owner class.

z
Type: T3

A parameter of generic type from direct owner class.

v
Type: T4

A parameter of generic type from this method.

Windows 10, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0

Portable Class Library

Supported in: Portable Class Library