PlatformAPI.IOTADesignerDevice190.SetDevicePlatform

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetDevicePlatform(const Value: TOTADevicePlatform); deprecated 'use IOTADesignerDevice.SetOsFamily instead';

C++

virtual void __fastcall SetDevicePlatform _DEPRECATED_ATTRIBUTE1("use IOTADesignerDevice.SetOsFamily instead") (const TOTADevicePlatform Value) = 0 ;

Properties

Type Visibility Source Unit Parent
procedure
function
public
PlatformAPI.pas
PlatformAPI.hpp
PlatformAPI IOTADesignerDevice190

Description

Attention: SetDevicePlatform is deprecated. Please use IOTADesignerDevice220.SetOSFamily.

Use SetDevicePlatform to define the platform that a design-time device runs on.

You cannot define more that one platform for the same design-time device. Instead, you must create two different design-time devices, each one for one of the platforms that they can run on.

See Also