共用方式為


AudioFileInputNode.FileCompleted 事件

定義

發生于播放位置到達音訊檔案的結尾或 以 EndTime 屬性指定的位置時。

// Register
event_token FileCompleted(TypedEventHandler<AudioFileInputNode, IInspectable const&> const& handler) const;

// Revoke with event_token
void FileCompleted(event_token const* cookie) const;

// Revoke with event_revoker
AudioFileInputNode::FileCompleted_revoker FileCompleted(auto_revoke_t, TypedEventHandler<AudioFileInputNode, IInspectable const&> const& handler) const;
public event TypedEventHandler<AudioFileInputNode,object> FileCompleted;
function onFileCompleted(eventArgs) { /* Your code */ }
audioFileInputNode.addEventListener("filecompleted", onFileCompleted);
audioFileInputNode.removeEventListener("filecompleted", onFileCompleted);
- or -
audioFileInputNode.onfilecompleted = onFileCompleted;
Public Custom Event FileCompleted As TypedEventHandler(Of AudioFileInputNode, Object) 

事件類型

適用於