A method with a parameter of constructed type (bound generic type).

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

Public Sub AddHierarchy( _ 
ByVal objCol As ReadOnlyCollection(Of ClassWithGenericMethods) _ 
)
This language is not supported or no code example is available.
public void AddHierarchy( 
ReadOnlyCollection<ClassWithGenericMethods> objCol 
)
This language is not supported or no code example is available.
public:  
void AddHierarchy( 
ReadOnlyCollection<ClassWithGenericMethods>^ objCol 
)
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.

Parameters

objCol
Type: ReadOnlyCollection<ClassWithGenericMethods>

A parameter of constructed type (bound generic type)

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