Clock(Timeline) 建構函式

定義

使用指定的 Clock 做為範本,初始化 Timeline 類別的新執行個體。 新的 Clock 物件沒有子系。

protected public:
 Clock(System::Windows::Media::Animation::Timeline ^ timeline);
protected internal Clock (System.Windows.Media.Animation.Timeline timeline);
new System.Windows.Media.Animation.Clock : System.Windows.Media.Animation.Timeline -> System.Windows.Media.Animation.Clock
Protected Friend Sub New (timeline As Timeline)

參數

timeline
Timeline

應在其中建構這個時鐘的 Timeline。 如果時鐘已經存在,就不會為任何子 Timeline 物件建立時鐘。

適用於