Letseatlunch
Letseatlunch

Reputation: 2487

How do I change the color of User Types in VB.NET code?

In a VB.NET Web Site, the User Types syntax coloring doesn't work. What are potential causes of this? It seems to not understand the difference between a "User Type" and an "Identifier."

Note: C# works as expected.

Upvotes: 0

Views: 553

Answers (1)

Cody Gray
Cody Gray

Reputation: 244712

The syntax coloring is slightly different for VB.NET compared to what you find in C#. As you've said, changing the color for "User Types" does what you expect given code written in C#. To change the color of the user types in VB.NET code, you need to change the color of "VB User Types":

 Setting color of "VB User Types" in Options dialog

Upvotes: 2

Related Questions