Skip to content

GetUnicodeStrProp

Get UnicodeString-valued property.

Declaration

Source position: typinfo.pp line 1256

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

Name Description
GetStrProp Return the value of a string property.
SetUnicodeStrProp Set UnicodeString-valued property.