?????? Explicit ? ???? ??????? ?? Visual Basic .NET ?? Visual Basic

?????? ????????? ?????? ?????????
???? ???????: 311329 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

?? ??? ??????

??????

???? ??? ??????? ?????? ???? ?????:
  • ?????? ???????
  • ?????? Explicit
?????? ??????? ?????? ?? Microsoft Visual Basic .NET Microsoft Visual Basic 2005 ??? ????????? ??????? ?? Visual Basic. ?????? Explicit ????? ?? ????????? ??????? ?? Visual Basic.

??????? ????

????? Option Explicit

???? ???????? Visual Basic .NET ?? ?????? ??????? ??????? Visual Basic ???? ????? ????? ????? ? ???? ????? ????? ?? ????? ??? ?????????. ?????? ??? ?????? ????????? ???? Change the Default Project Values ??????.

????? Option ???????

???? ???????? Visual Basic .NET ?? ?????? ??????? ??????? Visual Basic ?? ??? ????? ?????? ?????. ?????? ??? ?????? ????????? ???? Change the Default Project Values ??????.

????? ?????? ??????? ??????? ??? ???????? ?????? ??? ????? ??????? ???. ?????? ????? ?????? ???? ???? ?? ???? ?? ????? ??? ???????? ?? ??? ???????? ???? ?? ???? ? ?? ??????? ??? ????? ????? ??????. ????? ?? ????????? ??? ????? ??????? ???? Widening Conversions ??????.

??? ??????? ????? Option ??????? ??? ?? ???? ??????? ??? ?? ??????? ?????? ????. ?? Visual Basic .NET ????? ????? ????? ?? ??? ?????? ??? ?? ??? ?????? ??? ??????. ???? ?? ???? ????? ???????? ??? ????? ?????? ?? ??? ?????? ???? ??? ??? ?????? ?? ??? ??? ?? ?? ??? ????. ??? ???? ???? ????? ??? ??? ??????? ??? ??? ??? ????? ???????? ?? ??? ??? ?????. ?????? ??????? ??????? ??? ??????? ?? ?????? ??????? ?? ??? ??????? ??????? ???? ????? ???? ???.

?????? ??????? ????? ?????? ????? ??? ?? ???????????? ???????:
  • ??? ????? ??? ?????. ???? ??? ???? ??????? ????? ?????? Option Explicit.
  • ????? ???????.

????? ???????

???? ?????? ?????? ??????? ????? ???????.

?? ??? ??????????? ??? ??????
??? ????????widens ??? ????? ??????
???????? ? ??????? ? ??? ???? ? ???? ? ???????? ? ?????
???????? ? ??? ???????? ? ???????? ? ?????
??? ??????? ???? ? ???? ? ???????? ? ?????
???????? ? ???????? ? ?????
?????????? ? ???? ? ?????
???????? ? ?????
??????????
?? ??? ????? ???????? ????? ?????? ???????? ?????? ?? ?? ???? ?? ???? ????? ????
?????? ? ?????
?? ????????? ? ?? ??? ???? ?????? ?????
?? ??? ?????? ??? ????? ???? ?????? ????
?? ????? ??? ?????? "??" ??? ??????

?? ???? ??????? ??????? ?????:
  • ??? ???? ??? ????
  • ???????? ?? ?????
  • ?????????? ?? ?????
??? ???? ?? ???? ??? ????????? ????????? ?? ?????.

?????? ????? ?????? ???? ????? ?? ????? ?????? ????? ????? ?????? ??????.

????? ???? ?? ?????

????? ???? ?????? ???? ?????? ????? ???. Visual Basic .NET ?? Visual Basic 2005 ???? ??? ??? ??????? ? ???? ??? ????? ????? ??? ??? ???????? ???? ?????. ??? ??????? ???????? ???? ???? ????? ??? ?????? ??????? ?????? ???? ????????? ????????. ????? ???? ????? ???? ?????? ?? ????? ???? ?? ?????? ??????? ????.

???? ?????? ?????? ??????? ???????? ??????? ????????.
?? ??? ??????????? ??? ??????
???? ?????? ????? ?????????? ?????
??? ????????
????? ????? ???? ????? ????? ????????
CBool??????? ??? ???? (??? ?? ??? ???? ?????? ????? ?????) ????? ? ????
CByte?????? ??? ???? ?? ??? ????? ??????? ? ?????? ? ?????????
CChar???????? ? ????
CDate?????????? ? ????
CDbl??????? ??? ???? (??? ?? ??? ???? ?????? ????? ?????) ???????? ? ?????????
CDec?????? ??? ???? (??? ?? ??? ???? ?????? ????? ?????) ???????? ? ?????????
?????? CInt??? ?????? ??? ???? (??? ?? ??? ???? ?????? ????? ?????) ???????? ? ?????????
CLng?????? ??? ???? (??? ?? ??? ???? ?????? ????? ?????) ???????? ? ?????????
CObj?????? ???
CShort?????? ??? ???? (??? ?? ??? ???? ?????? ????? ?????) ???????? ? ?????????
CSng?????? ??? ???? (??? ?? ??? ???? ?????? ????? ?????) ???????? ? ?????????
CStr??????? ??? ???? (??? ?? ??? ????) ? ?????? ? ?????? ? ?????? ??????, ???????, ????
CType????? ??? ??????? ??????? (?)??? ????? ??? ??? ????? (??? ?? ??? ?? ??? ?????) ??? ????? ??? ?? ????? ?????? ???????? ??????? ???????.

??? ????? ??? ???? ?? ?????? ???? ???? ?????? ???? ??? ????.

????? ????? Project ??????????

????? ????? ????? ?????????? Option Explicit ? ??????? ????. ??? ???? ??????? ??? ????? ????? ???? ???????? Visual Basic .NET ??? ????? 2005 Visual Basic ?? Visual Basic ????? ???? Option Explicit ??? ?????. ????? ????? ??? ?????? ?????????? ??? ????? ?????.

?????? ????? ?????????? Option Explicit ? ???? ??????? ?? Visual Basic .NET ???? ??? ?????? ?? ??????? "?????" ???? ???? ?????? ??????. ??? ??? ?????? ????? ?????????? Option Explicit ? ???? ??????? ?? ?????? ????????? VB?????? ???????.

?????? ????? ?????????? Option Explicit ? ???? ??????? ?? Visual Studio ???? ??? ?????? ?? ??????? "?????" ???? ???? ?????? ??????. ??? ??? ?????? ????? ?????????? Option Explicit ? ???? ??????? ?? ?????? ????????? VB?????? ???????.

???????

???? ???????: 311329 - ????? ??? ??????: 11/???? ?????/1429 - ??????: 4.0
????? ???
  • Microsoft Visual Studio 2008 Academic Edition
  • Microsoft Visual Studio 2008 Professional Edition
  • Microsoft Visual Studio 2008 Standard Edition
  • Microsoft Visual Studio 2008 Team Edition for Database Professionals
  • Microsoft Visual Studio 2008 Team Edition for Software Architects
  • Microsoft Visual Studio 2008 Team Edition for Software Developers
  • Microsoft Visual Studio 2008 Team Edition for Software Testers
  • Microsoft Visual Studio 2008 Team Foundation Server
  • Microsoft Visual Studio 2008 Team Suite
  • Microsoft Visual Studio 2008 Team System Test Load Agent
  • Microsoft Visual Basic 2005 Express Edition
  • Microsoft Visual Basic .NET 2003 Standard Edition
  • Microsoft Visual Basic .NET 2002 Standard Edition
????? ??????: 
kbmt kbvs2005swept kbvs2005applies kbvs2002sp1sweep kbbug kbcompiler kbdebug kbideproject kbinfo kbupgrade KB311329 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????311329

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com