addWindowsDevice
Method
interface MauiProjectResource { // ... omitted for brevity addWindowsDevice(name: string): MauiWindowsPlatformResource;}Signature
method
addWindowsDevicebuilderAdds a Windows device resource to run the MAUI application on the Windows platform with a specific name.
addWindowsDevice(name: string): MauiWindowsPlatformResourceParameters
namestringReturns
MauiWindowsPlatformResourceApplies to
This method applies to the following types: