REST.Types.TRESTObjectOwnership

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TRESTObjectOwnership = (ooCopy, ooREST, ooApp);

C++

enum DECLSPEC_DENUM TRESTObjectOwnership : unsigned char { ooCopy, ooREST, ooApp };

Properties

Type Visibility Source Unit Parent
enum public
REST.Types.pas
REST.Types.hpp
REST.Types REST.Types

Description

Defines the ownership of the parameter object value (eg. stream).

ooCopy creates a copy of the assigning object.

ooREST is a library that owns the assigned object and it will destroy it when it is no more needed.

ooApp is the application that owns the assigned object.

See Also