Error on implementation of one method of an interface?

  • Thread starter Thread starter Özden Irmak
  • Start date Start date
Ö

Özden Irmak

Hello,

I'm trying to implement IDesignerHost interface. Everything is ok except
GetType method which gives me the errors below :

DesignerHost' must implement 'Overridable Overloads Function
GetType(typeName As String) As System.Type' for interface
'System.ComponentModel.Design.IDesignerHost'.

Keyword is not valid as an identifier.

My Implementation for this method is like this :
Public Function GetType(ByVal typeName As String) as System.Type implements
IDesignerHost.GetType

Can anyone help?

Thanks in advance...

Özden
 
* "Özden Irmak said:
I'm trying to implement IDesignerHost interface. Everything is ok except
GetType method which gives me the errors below :

DesignerHost' must implement 'Overridable Overloads Function
GetType(typeName As String) As System.Type' for interface
'System.ComponentModel.Design.IDesignerHost'.

Keyword is not valid as an identifier.

Try '[GetType]' instead.
 
Thank you so much...:))

Herfried K. Wagner said:
* "Özden Irmak said:
I'm trying to implement IDesignerHost interface. Everything is ok except
GetType method which gives me the errors below :

DesignerHost' must implement 'Overridable Overloads Function
GetType(typeName As String) As System.Type' for interface
'System.ComponentModel.Design.IDesignerHost'.

Keyword is not valid as an identifier.

Try '[GetType]' instead.
 
Back
Top