อ่านในภาษาอังกฤษ แก้ไข

แชร์ผ่าน


Activity.Clone Method

Definition

Creates a deep copy of the Activity.

C#
public System.Workflow.ComponentModel.Activity Clone();

Returns

A deep copy of the Activity.

Remarks

Uses a MemoryStream to copy the activity and creates a new activity by deserializing from that particular MemoryStream.

Applies to

ผลิตภัณฑ์ เวอร์ชัน
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1