Timeline.GetDesiredFrameRate(Timeline) 方法

定義

取得指定之 Timeline 的理想畫面播放速率。

public:
 static Nullable<int> GetDesiredFrameRate(System::Windows::Media::Animation::Timeline ^ timeline);
public static int? GetDesiredFrameRate (System.Windows.Media.Animation.Timeline timeline);
static member GetDesiredFrameRate : System.Windows.Media.Animation.Timeline -> Nullable<int>
Public Shared Function GetDesiredFrameRate (timeline As Timeline) As Nullable(Of Integer)

參數

timeline
Timeline

要從其中擷取理想畫面播放速率的時刻表。

傳回

Nullable<Int32>

此時刻表理想的畫面播放速率。 預設值是 null

備註

這個方法提供附加屬性的 DesiredFrameRate 讀取權限。 如需詳細資訊,請參閱 DesiredFrameRate 頁面。

適用於

另請參閱