[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Convert a C# Sealed class to VB Class...

Posted on 2006-05-09
3
Medium Priority
?
375 Views
Last Modified: 2012-06-27
public sealed class SomeRoleProvider: RoleProvider

I'm trying to figure out how to convert above class C# statement to a VB statement.

Anyone have any ideas?

SLCTech
0
Comment
Question by:SLCTech
  • 2
3 Comments
 
LVL 52

Expert Comment

by:Carl Tawn
ID: 16640368
I think it should be:

    Public NonInheritable Class SomeRoleProvider
        Inherits RoleProvider

    End Class
0
 

Author Comment

by:SLCTech
ID: 16640513
I tried that one... and got "End of statement expected" error.

Changed it to

Public NotOverridable Class SLCRoleProvider
    Inherits MembershipProvider

End Class

Do you think this would make more sense or be simular to sealed or do you have any other suggestions?

SLCTech
0
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 200 total points
ID: 16640544
Having just tried it, it should be:

    Public NotInheritable Class SomeRoleProvider
        Inherits RoleProvider

    End Class
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question