[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'TypInfo' (#rtl)

GetUnicodeStrProp

Get UnicodeString-valued property

Declaration

Source position: typinfo.pp line 815

function GetUnicodeStrProp(

  Instance: TObject;

  PropInfo: PPropInfo

):UnicodeString;

function GetUnicodeStrProp(

  Instance: TObject;

  const PropName: string

):UnicodeString;

Description

GetUnicodeStrProp returns the UnicodeString property from Instance, where the property is identified by the PropInfo pointer or the PropertyName.

Errors

If no property of the indicated name exists, or the value is not a Unicode string, an exception will occur.

See also

GetStrProp

  

Return the value of a string property.

SetUnicodeStrProp

  

Set UnicodeString-valued property


Documentation generated on: May 14 2021