Surpress Obsolete warnings

B

Boon

Is there a way to surpress the obsolete warnings on a function being used
inside another function that will be obsolete?

C# has something like

#pragma warning disable 0612
// Call obsolete type/enum member here
#pragma warning restore 0612

Is there a way to do this in VB.net?

Thanks
 
A

Armin Zingler

Boon said:
Is there a way to surpress the obsolete warnings on a function being used
inside another function that will be obsolete?

C# has something like

#pragma warning disable 0612
// Call obsolete type/enum member here
#pragma warning restore 0612

Is there a way to do this in VB.net?

No. Warning settings are for the whole project (-> project properties)


Armin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top