Datasnap.Provider.GetStringProperty

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Datasnap.Provider.pas
Datasnap.Provider.hpp
Unit: Datasnap.Provider
Parent: Datasnap.Provider

Delphi

function GetStringProperty(Instance: TPersistent; const PropName: string): string;

C++

extern DELPHI_PACKAGE System::UnicodeString __fastcall GetStringProperty(System::Classes::TPersistent* Instance, const System::UnicodeString PropName);

Description

Returns the property value (as String) of the given PropName property.

The GetStringProperty method uses run-time type info (RTTI) in order to search for the given property and, if it exists, returns its value as a String. If the property given through PropName cannot be found, then GetStringProperty returns an empty string.

See Also