const CTimeSpanamp ตัวดำเนินการ = ( const CTimeSpan & timeSpanSrc );
หมายเหตุ
ตัวดำเนินการกำหนด overloaded คัดลอกวัตถุtimeSpanSrc CTimeSpanต้นฉบับลงในวัตถุนี้CTimeSpan ?
ตัวอย่าง
/ / ตัวอย่างสำหรับ CTimeSpan::operator =
CTimeSpan ts1
CTimeSpan ts2 (3, 1, 5, 12); / / 3 วัน 1 ชั่วโมง 5 นาที และ 12 sec
ts1 = ts2
ASSERT (ts1 == ts2)
ภาพรวม CTimespan |nbsp สมาชิกของคลาส| แผนภูมิของลำดับชั้น(&N)
ดูเพิ่มเติมnbspCTimeSpan::CTimeSpan(&N)