Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/sqlite/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Vb.net NET创建类,什么是公共类MyClass(类型)?_Vb.net_Inheritance_Interface - Fatal编程技术网

Vb.net NET创建类,什么是公共类MyClass(类型)?

Vb.net NET创建类,什么是公共类MyClass(类型)?,vb.net,inheritance,interface,Vb.net,Inheritance,Interface,我仍在学习ASP.NET,我经常在我们的框架中看到这样的代码: Public MustInherit Class DBFileManager(Of F As IDBFile, FC As IDBFileContent, FT As IDBFileThumb) 有人能告诉我这是什么意思吗?非常感谢 这是一个泛型。这意味着可以创建一个DBFileManager,它作用于实现3个命名接口的3个类 有关更多信息,请参见以@Jimmy所说的内容为基础:它也是一个抽象类,这意味着它充当基类-您不能直接使用

我仍在学习ASP.NET,我经常在我们的框架中看到这样的代码:

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

有人能告诉我这是什么意思吗?非常感谢

这是一个泛型。这意味着可以创建一个DBFileManager,它作用于实现3个命名接口的3个类


有关更多信息,请参见

以@Jimmy所说的内容为基础:它也是一个抽象类,这意味着它充当基类-您不能直接使用它,您必须对它进行子类化才能使用它。该子类必须实现类头中的3种类型