VB.NET Creating Classes, what is the public class MyClass (type)?

I am still learning ASP.NET and I often see code like this at all stages of our structure:

Public MustInherit Class DBFileManager(Of F As IDBFile, FC As IDBFileContent, FT As IDBFileThumb)

      

Can anyone tell me what this means? Many thanks!

0


source to share


2 answers


Its general. This means that a DBFileManager can be instantiated which acts on 3 classes that implement 3 named interfaces



see http://msdn.microsoft.com/en-us/library/w256ka79(VS.80).aspx for more information

+1


source


To build on what @Jimmy said: It is also an abstract class, which means it acts like a base class - you cannot use it directly, you must use a subclass of it. This subclass must implement 3 types in the class header.



+1


source







All Articles