This is a migrated thread and some comments may be shown as answers.

Conversion error GetScriptDescriptors

1 Answer 46 Views
Code Converter
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
Fit2Page asked on 21 Mar 2012, 01:08 PM
I convert as part of a script:

public IEnumerable<ScriptDescriptor> GetScriptDescriptors()

To

Public Function GetScriptDescriptors() As IEnumerable(Of ScriptDescriptor)

When I run I get error:

Compiler Error Message: BC30149: Class 'PsdEditor' must implement 'Function GetScriptDescriptors() As Collections.Generic.IEnumerable(Of ScriptDescriptor)' for interface 'System.Web.UI.IScriptControl'.

Any suggesions?
I can send complete code if needed.

Thanks,
Marc

1 Answer, 1 is accepted

Sort by
0
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
answered on 21 Mar 2012, 01:15 PM
This line should habeen converted to

Public Function GetScriptDescriptors() As IEnumerable(Of ScriptDescriptor) Implements IScriptControl.GetScriptDescriptors
Tags
Code Converter
Asked by
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
Share this question
or