MauiProjectResource.AddWindowsDevice
Method
type MauiProjectResource interface { // ... omitted for brevity AddWindowsDevice(name string) MauiWindowsPlatformResource}Signature
method
AddWindowsDevice builderAdds a Windows device resource to run the MAUI application on the Windows platform with a specific name.
AddWindowsDevice(name string) MauiWindowsPlatformResourceParameters
namestringThe name of the Windows device resource.Returns
MauiWindowsPlatformResource The resource builder.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: