VBDotNET language in a nutshell

1K 36 0
VBDotNET language in a nutshell

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

This document is created with a trial version of CHM2PDF Pilot http://www.colorpilot.com VB.NET Language in a Nutshell, 2nd Edition By Paul Lomax, Ron Petrusha, Steven Roman, Ph.D of • Table Contents • Index • Reviews • CD-ROM • Reader Reviews • Errata Publisher: O'Reilly Pub Date: May 2002 ISBN: 0-596-00308-0 Pages: 682 Slots: VB.NET Language in a Nutshell begins with a brief overview of the new Visual Basic NET language, covering basic programming concepts and introduces the NET Framework Class Library and programming with attributes The bulk of the book presents an alphabetical reference to Visual Basic NET statements, procedures, functions, and objects Also included is a CD-ROM that allows the reference section of the book to integrate with Visual Studio NET This document is created with a trial version of CHM2PDF Pilot http://www.colorpilot.com VB.NET Language in a Nutshell, 2nd Edition By Paul Lomax, Ron Petrusha, Steven Roman, Ph.D of • Table Contents • Index • Reviews • CD-ROM • Reader Reviews • Errata Publisher: O'Reilly Pub Date: May 2002 ISBN: 0-596-00308-0 Pages: 682 Slots: Copyright Preface Why Another VB Book? Who This Book Is For How This Book Is Structured Conventions Used in This Book How to Contact Us Acknowledgments Part I: The Basics Chapter Introduction Section 1.1 Why VB.NET? Section 1.2 What Is VB.NET? Section 1.3 What Can You Do with VB.NET? Chapter Program Structure Section 2.1 Getting a VB Program to Run Section 2.2 The Structure of a VB Program Chapter Variables and Data Types Section 3.1 Variables Section 3.2 Declaring Variables and Constants Section 3.3 Data Types Section 3.4 Arrays Section 3.5 Object Variables and Their Binding Section 3.6 The Collection Object Section 3.7 Parameters and Arguments Chapter Introduction to Object-Oriented Programming Section 4.1 Why Learn Object-Oriented Techniques? Section 4.2 Principles of Object-Oriented Programming Section 4.3 Classes and Objects Section 4.4 Inheritance Section 4.5 Interfaces, Abstract Members, and Classes Section 4.6 Polymorphism and Overloading This document is created with a trial version of CHM2PDF Pilot http://www.colorpilot.com Section 4.7 Accessibility in Class Modules Chapter The NET Framework: General Concepts Section 5.1 Namespaces Section 5.2 Common Language Runtime (CLR), Managed Code, and Managed Data Section 5.3 Managed Execution Section 5.4 Assemblies Section 5.5 Assemblies and VB.NET Chapter The NET Framework Class Library Section 6.1 The System Namespace Section 6.2 Other Namespaces Chapter Delegates and Events Section 7.1 Delegates Section 7.2 Events and Event Binding Chapter Attributes Section 8.1 Syntax and Use Section 8.2 Defining a Custom Attribute Section 8.3 Using a Custom Attribute Chapter Error Handling in VB.NET Section 9.1 Error Detection and Error Handling Section 9.2 Runtime Error Handling Section 9.3 Dealing with Logical Errors Section 9.4 Error Constants Part II: Reference Chapter 10 The Language Reference #Const Directive #If Then #Else Directive #Region #End Region Directive Abs Function Acos Function AddHandler Statement AddressOf Operator AppActivate Procedure Application Class Application.CompanyName Property Application.DoEvents Method Application.ExecutablePath Property Application.ProductName Property Application.ProductVersion Property Array Class Array.BinarySearch Method Array.Copy Method Array.IndexOf Method Array.LastIndexOf Method Array.Reverse Method Array.Sort Method Asc, AscW Functions This document is created with a trial version of CHM2PDF Pilot http://www.colorpilot.com AssemblyVersion Attribute Asin Function Atan Function Atan2 Function AttributeUsage Attribute Beep Procedure Call Statement CallByName Function CBool Function CByte Function CChar Function CDate Function CDbl Function CDec Function Ceiling Function ChDir Procedure ChDrive Procedure Choose Function Chr, ChrW Functions CInt Function Class Statement Clipboard Class Clipboard.GetDataObject Method Clipboard.SetDataObject Method CLng Function CLSCompliant Attribute CObj Function Collection Class Collection.Add Method Collection.Count Property Collection.Item Method Collection.Remove Method ColorDialog Class COMClass Attribute Command Function Const Statement Cos Function Cosh Function CreateObject Function CShort Function CSng Function CStr Function CType Function CurDir Function DateAdd Function DateDiff Function DatePart Function DateSerial Function DateString Property DateValue Function Day Function DDB Function Debug Class This document is created with a trial version of CHM2PDF Pilot http://www.colorpilot.com Debug Class Debug.Assert Method Debug.AutoFlush Property Debug.Close Method Debug.Flush Method Debug.Indent Method Debug.IndentLevel Property Debug.IndentSize Property Debug.Listeners Property Debug.Unindent Method Debug.Write Method Debug.WriteIf Method Debug.WriteLine Method Debug.WriteLineIf Method Declare Statement DefaultMember Attribute Delegate Statement DeleteSetting Procedure Dim Statement Dir Function DirectCast Function Directory Class Directory.CreateDirectory Method Directory.Delete Method Directory.Exists Method Directory.GetCreationTime Method Directory.GetDirectories Method Directory.GetDirectoryRoot Method Directory.GetFiles Method Directory.GetFileSystemEntries Method Directory.GetLogicalDrives Method Directory.GetParent Method Directory.Move Method Do Loop Statement E Field End Statement Enum Statement Environ Function EOF Function Erase Statement Erl Property Err Object Err.Clear Method Err.Description Property Err.GetException Method Err.HelpContext Property Err.HelpFile Property Err.LastDLLError Property Err.Number Property Err.Raise Method Err.Source Property Error Statement ErrorToString Function This document is created with a trial version of CHM2PDF Pilot http://www.colorpilot.com Event Statement Exception Class Exit Statement Exp Function File Class File.Exists Method FileAttr Function FileClose Procedure FileCopy Procedure FileDateTime Function FileGet, FileGetObject Procedures FileLen Function FileOpen Procedure FilePut, FilePutObject Procedures FileWidth Procedure Filter Function Fix Function Flags Attribute Floor Function FontDialog Class For Next Statement For Each Next Statement Format Function FormatCurrency, FormatNumber, FormatPercent Functions FormatDateTime Function FreeFile Function Friend Keyword Function Statement FV Function Get Statement GetAllSettings Function GetAttr Function GetChar Function GetObject Function GetSetting Function GetTimer Function GetType Operator GoTo Statement Guid Attribute Handles Keyword Hashtable Class Hashtable.Add Method Hashtable.Clear Method Hashtable.ContainsKey Method Hashtable.ContainsValue Method Hashtable.CopyTo Method Hashtable.Count Property Hashtable.Item Property Hashtable.Keys Property Hashtable.Remove Method Hashtable.Values Property Hex Function Hour Function This document is created with a trial version of CHM2PDF Pilot http://www.colorpilot.com Hour Function IDataObject Interface IDataObject.GetData Method IDataObject.GetDataPresent Method IDataObject.GetFormats Method IEEERemainder Function If Then Else Statement IIf Function Implements Keyword Implements Statement Imports Statement Inherits Statement Input Procedure InputBox Function InputString Function InStr Function InStrRev Function Int Function Interface Statement IPmt Function IRR Function Is Operator IsArray Function IsDate Function IsDBNull Function IsError Function IsNothing Function IsNumeric Function IsReference Function Join Function Kill Procedure LBound Function LCase Function Left Function Len Function Like Operator LineInput Function Loc Function Lock Procedure LOF Function Log Function Log10 Function LSet Function LTrim Function MarshalAs Attribute Max Function Me Operator Mid Function Mid Statement Min Function Minute Function MIRR Function MkDir Procedure This document is created with a trial version of CHM2PDF Pilot http://www.colorpilot.com Mod Operator Module End Module Statement Month Function MonthName Function MsgBox Function MTAThread Attribute MyBase Keyword MyClass Keyword Namespace Statement Now Property NPer Function NPV Function Obsolete Attribute Oct Function On Error Statement OpenFileDialog Class Option Compare Statement Option Explicit Statement Option Strict Statement Out Attribute ParamArray Attribute Partition Function Pi Field Pmt Function Pow Function PPmt Function Print, PrintLine Procedures Private Statement Property Statement Protected Keyword Public Statement PV Function QBColor Function Queue Class Queue.Clear Method Queue.Contains Method Queue.CopyTo Method Queue.Count Property Queue.Dequeue Method Queue.Enqueue Method Queue.Peek Method Queue.ToArray Method RaiseEvent Statement Randomize Procedure Rate Function ReDim Statement Rem Statement RemoveHandler Statement Rename Procedure Replace Function Reset Procedure Resume Statement Return Statement This document is created with a trial version of CHM2PDF Pilot http://www.colorpilot.com Return Statement RGB Function Right Function RmDir Procedure Rnd Function Round Function RSet Function RTrim Function SaveFileDialog Class SaveSetting Procedure ScriptEngine Property ScriptEngineBuildVersion Property ScriptEngineMajorVersion Property ScriptEngineMinorVersion Property Second Function Seek Function Seek Procedure Select Case Statement Send, SendWait Methods Set Statement SetAttr Procedure Shadows Keyword Shell Function Sign Function Sin Function Sinh Function SLN Function Space Function Spc Function Split Function Sqrt Function Stack Class Stack.Clear Method Stack.Contains Method Stack.CopyTo Method Stack.Count Property Stack.Peek Method Stack.Pop Method Stack.Push Method Stack.ToArray Method STAThread Attribute Static Statement Stop Statement Str Function StrComp Function StrConv Function StrDup Function StrReverse Function Structure End Structure Statement Sub Statement Switch Function SYD Function SyncLock Statement This document is created with a trial version of CHM2PDF Pilot http://www.colorpilot.com SystemTypeName Function Tab Function Tan Function Tanh Function ThreadStatic Attribute Throw Statement TimeOfDay Property Timer Property TimeSerial Function TimeString Property TimeValue Function Today Property Trim Function Try Catch Finally Statement TypeName Function UBound Function UCase Function Unlock Procedure Val Function ValDec Function VarType Function VBFixedArray Attribute VBFixedString Attribute VbTypeName Function WebMethod Attribute WebService Attribute Weekday Function WeekdayName Function While End While Statement With Statement WithEvents Keyword Write Procedure WriteLine Procedure Year Function Part III: Appendixes Appendix A What's New and Different in VB.NET Section A.1 Language Changes for VB.NET Section A.2 Changes to Programming Elements Section A.3 Obsolete Programming Elements Section A.4 Structured Exception Handling Section A.5 Changes in Object-Orientation Appendix B Language Elements by Category Section B.1 Array Handling Section B.2 Clipboard Section B.3 Collection Objects Section B.4 Common Dialogs Section B.5 Conditional Compilation Section B.6 Conversion Section B.7 Date and Time Section B.8 Debugging ... Preface Microsoft Visual Basic began its life just eleven years ago as a kind of amalgamation of Microsoft's QBasic programming language and a graphical interface design program developed in part... LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM); int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine, int iCmdShow) { static char szAppName[] = "SayHello" ;... that assumed the presence of the Internet marked another change in programming paradigms Yet Visual Basic's real strength remained as it always had been: a great platform for developing standalone

Ngày đăng: 26/03/2019, 11:15

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan