AddWindowsDevice
Method
func (MauiProjectResource) AddWindowsDevice(name string) MauiWindowsPlatformResourceSignature
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().
Applies to
This method applies to the following types: