共用方式為


ResourceDictionary.SetAndCreateSource<T>(Uri) 方法

定義

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

適用於