1332 Generating Documentation in Visual Studio Appendix E 20 21 /// 22 /// This private member of Point 23 /// represents the x coordinate. 24 /// 25 /// The y coordinate as an integer. 26 private int y; 27 28 /// 29 /// Default constructor for class Point. 30 /// 31 /// 32 /// Sets properties X and Y to 0. 33 /// 34 public Point() 35 { 36 // implicit call to base-class constructor occurs here 37 } 38 39 /// 40 /// Constructor for Point that accepts two 41 /// integers that represent the x-and 42 /// y coordinates of the point. 43 /// 44 /// 45 /// Uses X and Y 46 /// properties to set the coordinates of the point, 47 /// not private members x 48 /// and y. 49 /// 50 ///
51 /// The x coordinate of the circle 52 /// 53 ///
54 /// The y coordinate of the circle. 55 /// 56 public Point( int xValue, int yValue ) 57 { 58 // implicit call to base-class constructor occurs here 59 X = xValue; 60 Y = yValue; 61 } 62 63 /// 64 /// Provides get and set access to member 65 /// x. 66 /// 67 /// 68 /// X accesses the value of the 69 /// x data member. 70 /// 71 public int X 72 { Fig. E.1 FiFiFiFig.g.g.g. E.E.E.E.1111Pointmarked up with XML comments. (Part 2 of 3.)
Looking for affordable and reliable webhost to host and run your business application? Then look no more and go to servlet web hosting services.
This entry was posted
on Saturday, October 27th, 2007 at 10:02 am and is filed under Tomcat.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.