Skip to main content
StorageFolderQueryResult.OptionsChanged | optionschanged event

Fires when the query options change.

Syntax


function onOptionsChanged(eventArgs) { /* Your code */ }
 
// addEventListener syntax
storageFolderQueryResult.addEventListener("optionschanged", onOptionsChanged);
storageFolderQueryResult.removeEventListener("optionschanged", onOptionsChanged);
 
- or -

storageFolderQueryResult.onoptionschanged = onOptionsChanged;

public event TypedEventHandler<IStorageQueryResultBase, Object> OptionsChanged

Public Event OptionsChanged As TypedEventHandler(Of IStorageQueryResultBase, Object)

public:
event TypedEventHandler<IStorageQueryResultBase, Object>^ OptionsChanged {
   Windows::Foundation::EventRegistrationToken add(TypedEventHandler<IStorageQueryResultBase, Object>^ value);
   void remove(Windows::Foundation::EventRegistrationToken token);
}

Event information

Delegate TypedEventHandler<IStorageQueryResultBase, Object>

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Storage.Search
Windows::Storage::Search [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows 10 Mobile

Namespace

Windows.Storage.Search
Windows::Storage::Search [C++]

Metadata

Windows.winmd

See also

StorageFolderQueryResult