ChooserChoose(String) Method
Note: This API is now obsolete.
Display the Chooser dialogue enabling the user to select a driver
Namespace: ASCOM.ComAssembly: ASCOM.Com (in ASCOM.Com.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
[ObsoleteAttribute("ASCOM.Com.Chooser wraps the .NET 3.5 COM Chooser component and is not Intel CET compatible. If you target .NET 9 or later, you should migrate to the Stand Alone Chooser (ASCOM.Com.ChooserSA) to avoid CET related crashes.")]
public string Choose(
string progId
)
<ObsoleteAttribute("ASCOM.Com.Chooser wraps the .NET 3.5 COM Chooser component and is not Intel CET compatible. If you target .NET 9 or later, you should migrate to the Stand Alone Chooser (ASCOM.Com.ChooserSA) to avoid CET related crashes.")>
Public Function Choose (
progId As String
) As String
- progId String
- The driver ProgId to pre-select in the Chooser drop-down list
StringThe ProgID of the selected device or an empty string if no device was chosen
Obsolete (compiler warning) in 2.0