PasswordCredentialPropertyStore.MapChanged 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
這個方法會保留供內部使用,不適用於您的程式碼。
public:
virtual event MapChangedEventHandler<Platform::String ^, Platform::Object ^> ^ MapChanged;
// Register
event_token MapChanged(MapChangedEventHandler<winrt::hstring, IInspectable const&> const& handler) const;
// Revoke with event_token
void MapChanged(event_token const* cookie) const;
// Revoke with event_revoker
PasswordCredentialPropertyStore::MapChanged_revoker MapChanged(auto_revoke_t, MapChangedEventHandler<winrt::hstring, IInspectable const&> const& handler) const;
public event MapChangedEventHandler<string,object> MapChanged;
function onMapChanged(eventArgs) { /* Your code */ }
passwordCredentialPropertyStore.addEventListener("mapchanged", onMapChanged);
passwordCredentialPropertyStore.removeEventListener("mapchanged", onMapChanged);
- or -
passwordCredentialPropertyStore.onmapchanged = onMapChanged;
Public Custom Event MapChanged As MapChangedEventHandler(Of String, Object) Implements MapChanged
事件類型
MapChangedEventHandler<Platform::String,Platform::Object>
MapChangedEventHandler<winrt::hstring,IInspectable>