ResourceDictionary.SetAndCreateSource<T>(Uri) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public:
generic <typename T>
where T : Microsoft::Maui::Controls::ResourceDictionarygcnew() void SetAndCreateSource(Uri ^ value);
public void SetAndCreateSource<T> (Uri value) where T : Microsoft.Maui.Controls.ResourceDictionary, new();
member this.SetAndCreateSource : Uri -> unit (requires 'T :> Microsoft.Maui.Controls.ResourceDictionary and 'T : (new : unit -> 'T))
Public Sub SetAndCreateSource(Of T As {ResourceDictionaryNew}) (value As Uri)
類型參數
- T
參數
- value
- Uri