Avatar of SLCTech
SLCTech

asked on 

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

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
ASP.NET

Avatar of undefined
Last Comment
Carl Tawn
Avatar of Carl Tawn
Carl Tawn
Flag of United Kingdom of Great Britain and Northern Ireland image

I think it should be:

    Public NonInheritable Class SomeRoleProvider
        Inherits RoleProvider

    End Class
Avatar of SLCTech
SLCTech

ASKER

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
ASKER CERTIFIED SOLUTION
Avatar of Carl Tawn
Carl Tawn
Flag of United Kingdom of Great Britain and Northern Ireland image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
ASP.NET
ASP.NET

The successor to Active Server Pages, ASP.NET websites utilize the .NET framework to produce dynamic, data and content-driven web applications and services. ASP.NET code can be written using any .NET supported language. As of 2009, ASP.NET can also apply the Model-View-Controller (MVC) pattern to web applications

128K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo