An examination of the code in Listing 2-1 begins with the member varia การแปล - An examination of the code in Listing 2-1 begins with the member varia ไทย วิธีการพูด

An examination of the code in Listi

An examination of the code in Listing 2-1 begins with the member variable _Kinect and the property

named Kinect. An application should always maintain a local reference to the KinectSensor objects used

by the application. There are several reasons for this, which become more obvious as you proceed

through the book; however, at the very least, a reference is needed to uninitialize the KinectSensor when

the application is finished using the sensor. The property serves as a wrapper for the member variable.

The primary purpose of using a property is to ensure all sensor initialization and uninitialization is in a

common place and executed in a structured way. Notice in the property’s setter how the member

variable is not set unless the incoming value has a status of KinectStatus.Connected. When going

through the sensor discovery process, an application should only be concerned with connected devices.

Besides, any attempt to initialize a sensor that does not have a connected status results in an

InvalidOperationException exception.
0/5000
จาก: -
เป็น: -
ผลลัพธ์ (ไทย) 1: [สำเนา]
คัดลอก!
An examination of the code in Listing 2-1 begins with the member variable _Kinect and the propertynamed Kinect. An application should always maintain a local reference to the KinectSensor objects used by the application. There are several reasons for this, which become more obvious as you proceed through the book; however, at the very least, a reference is needed to uninitialize the KinectSensor when the application is finished using the sensor. The property serves as a wrapper for the member variable. The primary purpose of using a property is to ensure all sensor initialization and uninitialization is in a common place and executed in a structured way. Notice in the property’s setter how the member variable is not set unless the incoming value has a status of KinectStatus.Connected. When going through the sensor discovery process, an application should only be concerned with connected devices. Besides, any attempt to initialize a sensor that does not have a connected status results in an InvalidOperationException exception.
การแปล กรุณารอสักครู่..
ผลลัพธ์ (ไทย) 2:[สำเนา]
คัดลอก!
การตรวจสอบของรหัสในรายชื่อ 2-1 เริ่มต้นด้วยตัวแปรสมาชิก _Kinect และทรัพย์สินที่ชื่อKinect โปรแกรมที่ควรรักษาอ้างอิงท้องถิ่นกับ KinectSensor วัตถุที่ใช้โดยการประยุกต์ใช้ มีเหตุผลหลายประการนี้ซึ่งกลายเป็นที่ชัดเจนมากขึ้นในขณะที่คุณดำเนินการอยู่ผ่านหนังสือ; แต่อย่างน้อยที่สุดการอ้างอิงที่จำเป็นในการยกเลิก KinectSensor เมื่อโปรแกรมจะเสร็จสิ้นการใช้เซ็นเซอร์ สถานที่ให้บริการทำหน้าที่เป็นเสื้อคลุมสำหรับตัวแปรสมาชิกที่. วัตถุประสงค์หลักของการใช้สถานที่เพื่อให้แน่ใจว่าการเริ่มต้นเซ็นเซอร์และ uninitialization อยู่ในสถานที่ที่พบและการดำเนินการในทางโครงสร้าง แจ้งให้ทราบล่วงหน้าในการตั้งค่าของโรงแรมว่าสมาชิกที่ตัวแปรไม่ได้กำหนดเว้นแต่ค่าที่เข้ามามีสถานะของ KinectStatus.Connected เมื่อไปผ่านกระบวนการการค้นพบเซ็นเซอร์โปรแกรมที่ควรจะเกี่ยวข้องกับอุปกรณ์ที่เชื่อมต่อ. นอกจากนี้ยังพยายามที่จะเริ่มต้นการเซ็นเซอร์ที่ไม่ได้มีผลสถานะการเชื่อมต่อในยกเว้น InvalidOperationException



















การแปล กรุณารอสักครู่..
ผลลัพธ์ (ไทย) 3:[สำเนา]
คัดลอก!
การตรวจสอบของรหัสในรายการ 2-1 เริ่มต้นด้วยสมาชิกตัวแปร _kinect และคุณสมบัติ

ชื่อ Kinect . โปรแกรมควรรักษาอ้างอิงเฉพาะกับวัตถุ kinectsensor

ใช้โดยโปรแกรม มีหลายเหตุผลสำหรับเรื่องนี้ ซึ่งกลายเป็นที่เห็นได้ชัดมากขึ้นเมื่อคุณดำเนินการต่อไป

ผ่านหนังสือ แต่อย่างน้อยที่สุดการอ้างอิงจะต้องยกเลิกการใช้งานที่ kinectsensor เมื่อ

ใบสมัครเสร็จแล้วใช้เซ็นเซอร์ คุณสมบัติทำหน้าที่เป็นเสื้อคลุมสำหรับสมาชิกของตัวแปร

จุดประสงค์หลักของการใช้คุณสมบัติเพื่อให้แน่ใจว่าทั้งหมดเซ็นเซอร์การเริ่มต้นและ uninitialization อยู่

สถานที่ทั่วไปและดำเนินการในลักษณะที่มีโครงสร้าง . เห็นในคุณสมบัติ setter ว่าสมาชิก

ตัวแปรไม่ได้ถูกตั้งค่านอกจากค่าที่เข้ามามีสถานะของ kinectstatus.connected . เมื่อไป

ผ่านเซ็นเซอร์การค้นพบกระบวนการ โปรแกรมประยุกต์ที่ควรจะเกี่ยวข้องกับอุปกรณ์ที่เชื่อมต่อ

นอกจากนี้ ความพยายามใด ๆเพื่อเริ่มการทำงานของเซนเซอร์ที่ไม่ได้มีการเชื่อมต่อสถานะในแบบ

invalidoperationexception ข้อยกเว้น
การแปล กรุณารอสักครู่..
 
ภาษาอื่น ๆ
การสนับสนุนเครื่องมือแปลภาษา: กรีก, กันนาดา, กาลิเชียน, คลิงออน, คอร์สิกา, คาซัค, คาตาลัน, คินยารวันดา, คีร์กิซ, คุชราต, จอร์เจีย, จีน, จีนดั้งเดิม, ชวา, ชิเชวา, ซามัว, ซีบัวโน, ซุนดา, ซูลู, ญี่ปุ่น, ดัตช์, ตรวจหาภาษา, ตุรกี, ทมิฬ, ทาจิก, ทาทาร์, นอร์เวย์, บอสเนีย, บัลแกเรีย, บาสก์, ปัญจาป, ฝรั่งเศส, พาชตู, ฟริเชียน, ฟินแลนด์, ฟิลิปปินส์, ภาษาอินโดนีเซี, มองโกเลีย, มัลทีส, มาซีโดเนีย, มาราฐี, มาลากาซี, มาลายาลัม, มาเลย์, ม้ง, ยิดดิช, ยูเครน, รัสเซีย, ละติน, ลักเซมเบิร์ก, ลัตเวีย, ลาว, ลิทัวเนีย, สวาฮิลี, สวีเดน, สิงหล, สินธี, สเปน, สโลวัก, สโลวีเนีย, อังกฤษ, อัมฮาริก, อาร์เซอร์ไบจัน, อาร์เมเนีย, อาหรับ, อิกโบ, อิตาลี, อุยกูร์, อุสเบกิสถาน, อูรดู, ฮังการี, ฮัวซา, ฮาวาย, ฮินดี, ฮีบรู, เกลิกสกอต, เกาหลี, เขมร, เคิร์ด, เช็ก, เซอร์เบียน, เซโซโท, เดนมาร์ก, เตลูกู, เติร์กเมน, เนปาล, เบงกอล, เบลารุส, เปอร์เซีย, เมารี, เมียนมา (พม่า), เยอรมัน, เวลส์, เวียดนาม, เอสเปอแรนโต, เอสโทเนีย, เฮติครีโอล, แอฟริกา, แอลเบเนีย, โคซา, โครเอเชีย, โชนา, โซมาลี, โปรตุเกส, โปแลนด์, โยรูบา, โรมาเนีย, โอเดีย (โอริยา), ไทย, ไอซ์แลนด์, ไอร์แลนด์, การแปลภาษา.

Copyright ©2025 I Love Translation. All reserved.

E-mail: