|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Delcaring CONSTANT.... IN VB.NetHow to declare a CONSTANT as part of the CLASS?
VB.Net .Net Framework 1.1. -Pete Pete Smith wrote:
> How to declare a CONSTANT as part of the CLASS? Const VariableName as VariableType> > VB.Net .Net Framework 1.1. > > -Pete > > > > "Pete Smith" <PeteSmit***@hotmail.com> wrote in message Public Class MyClassnews:uDEu8uaLGHA.604@TK2MSFTNGP14.phx.gbl... : How to declare a CONSTANT as part of the CLASS? : : VB.Net .Net Framework 1.1. : : -Pete Private Const MyPrivateConstant As Integer = 100 Public Const MyPublicConstant As String = "Hello!" [...] End Class Thank you to both.
-Pete Show quoteHide quote "_AnonCoward" <abc***@uvwxyz.com> wrote in message news:i1NGf.11476$915.5772@southeast.rr.com... > > "Pete Smith" <PeteSmit***@hotmail.com> wrote in message > news:uDEu8uaLGHA.604@TK2MSFTNGP14.phx.gbl... > : How to declare a CONSTANT as part of the CLASS? > : > : VB.Net .Net Framework 1.1. > : > : -Pete > > Public Class MyClass > > Private Const MyPrivateConstant As Integer = 100 > Public Const MyPublicConstant As String = "Hello!" > > [...] > > End Class > > >
Changing a richtextbox's colour!
Vanishing Declarations Conversion question Q: Message Box graphics .NET PDF toolkit that can compress images in PDF files..? Problem with Structures using FieldOffset -- BUG? Changing default printer..... Windows Explorer Integration VS2005 Standard vs. VS2003.Net Academic what is the meaning of this error message? |
|||||||||||||||||||||||