ResourceDictionary.SetAndCreateSource<T>(Uri) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
For internal use by the MAUI platform.
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)
Type Parameters
- T
The type of resource dictionary to create.
Parameters
- value
- Uri
The source URI.