Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Public MustOverride Function
Message
 
To
24/10/2002 13:42:45
Rex Mahel
Realm Software, Llc
Ohio, United States
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00714807
Message ID:
00715010
Views:
16
Rex,

Sorry for the misposting before. When you use the MustOverride attribute, you don't use the End Function. Here is the correct code:
Public MustInherit Class Base1

    Public MustOverride Function Rex() As Boolean

End Class
>Cathi,
>
>Here it is:
>
>
>Public MustInherit Class Base1
>
>	Public MustOverride Function Rex() As Boolean
>	End Function
>
>End Class
>
>
>Thanks
>
>Rex
>>Can you post your code?
>>
>>>Cathi,
>>>
>>>I get the same thing.
>>>
>>>Any more ideas?
>>>
>>>TIA
>>>
>>>Rex
>>>
>>>>See if you are using the following syntax:
>>>>
>>>>
>>>>Public MustOverride Function MyFunction() As Integer
>>>>  ...
>>>>End Function
>>>>
>>>>
>>>>>All,
>>>>>
>>>>>I cannot write a function with MustOverride. I get a blue squiggly on the End Function saying that "'End Function' must be preceded by a matching 'Function'".
>>>>>
>>>>>How can I do this?
>>>>>
>>>>>TIA
>>>>>
>>>>>Rex
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform