Syntax(Of typeParamList)
DescriptionThe Of keyword enables generics, the use of type parameters in a language construct, such as a class definition. Type parameters are used as placeholders for strongly typed data, to be enforced when the related construct is instantiated. Generics are fully described in Chapter 10, complete with examples. Usage at a GlanceType parameters added with the Of keyword cannot be used with Common Language Specification (CLS) compliant components. Version DifferencesGenerics and the Of keyword are new with Visual Basic 2005. See AlsoClass...End Class Statement, Delegate Statement, Function Statement, Interface...End Interface Statement, Structure Statement, Sub Statement |