cannot inhertis Image class ??????????????????????

this is my code :

public class ImageData
inherits System.Drawing.Image

end class

when i write it, a error show : "Class 'ImageData' must declare a 'Sub New' because its base class 'Image' does not have an accessible 'Sub New' that can be called with no arguments."
so, i wrote it then :

public class ImageData
inherits System.Drawing.Image
Sub New()
end sub
end class

then, a error next: "First statement of this 'Sub New' must be a call to 'MyBase.New' or 'MyClass.New' because base class 'System.Drawing.Image' of 'ImageData' does not have an accessible 'Sub New' that can be called with no arguments."
then, i continue write :

public class ImageData
inherits System.Drawing.Image
Sub New()
MyBase.New()
end sub
end class

a error next again : "Overload resolution failed because no 'New' is accessible."
i don't understand it



Answer this question

cannot inhertis Image class ??????????????????????