PlatformAPI.IOTADesignerDevice190.SetDevicePlatform

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

Properties

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

Description

Warning: 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