IExpContentTopLevelHost.StateChanged 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
// Register
event_token StateChanged(TypedEventHandler<IExpContentTopLevelHost, IInspectable const&> const& handler) const;
// Revoke with event_token
void StateChanged(event_token const* cookie) const;
// Revoke with event_revoker
IExpContentTopLevelHost::StateChanged_revoker StateChanged(auto_revoke_t, TypedEventHandler<IExpContentTopLevelHost, IInspectable const&> const& handler) const;
event TypedEventHandler<IExpContentTopLevelHost,object> StateChanged;
function onStateChanged(eventArgs) { /* Your code */ }
iExpContentTopLevelHost.addEventListener("statechanged", onStateChanged);
iExpContentTopLevelHost.removeEventListener("statechanged", onStateChanged);
- or -
iExpContentTopLevelHost.onstatechanged = onStateChanged;
Event StateChanged As TypedEventHandler(Of IExpContentTopLevelHost, Object)
事件類型
TypedEventHandler<IExpContentTopLevelHost,IInspectable>