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