AppSearchSession.GetNamespaces(IExecutor, IConsumer) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得目前資料庫中至少一份文件中所有命名空間的集合。
[Android.Runtime.Register("getNamespaces", "(Ljava/util/concurrent/Executor;Ljava/util/function/Consumer;)V", "", ApiSince=31)]
public void GetNamespaces(Java.Util.Concurrent.IExecutor executor, Java.Util.Functions.IConsumer callback);
[<Android.Runtime.Register("getNamespaces", "(Ljava/util/concurrent/Executor;Ljava/util/function/Consumer;)V", "", ApiSince=31)>]
member this.GetNamespaces : Java.Util.Concurrent.IExecutor * Java.Util.Functions.IConsumer -> unit
參數
- executor
- IExecutor
執行人,用以啟動回撥。
- callback
- IConsumer
回調以接收命名空間。
- 屬性
備註
取得目前資料庫中至少一份文件中所有命名空間的集合。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。