ContentView.Observe<T> 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
protected:
generic <typename T>
void Observe(IObservable<T> ^ observable, Func<T, FormattableString ^> ^ formatProvider);
protected void Observe<T>(IObservable<T> observable, Func<T,FormattableString> formatProvider);
member this.Observe : IObservable<'T> * Func<'T, FormattableString> -> unit
Protected Sub Observe(Of T) (observable As IObservable(Of T), formatProvider As Func(Of T, FormattableString))
類型參數
- T
參數
- observable
- IObservable<T>
- formatProvider
- Func<T,FormattableString>