Skip to content

SetWideStrProp

Set a widestring property.

Declaration

Source position: typinfo.pp line 1253

procedure SetWideStrProp(Instance: TObject; const PropName: string; 
                        const Value: WideString);
procedure SetWideStrProp(Instance: TObject; PropInfo: PPropInfo; 
                        const Value: WideString);

Description

SetWideStrProp assigns Value to the widestring property described by PropInfo or with name Propname for object Instance.

Errors

No checking is done whether Instance is non-nil, or whether PropInfo describes a valid widestring property of Instance. Specifying an invalid property name in PropName will result in an EPropertyError exception.

See also

Name Description
GetWideStrProp Read a widestring property.
SetStrProp Set value of a string property.
SetOrdProp Set value of an ordinal property.
SetFloatProp Set value of a float property.
SetInt64Prop Set value of a Int64 property.
SetMethodProp Set the value of a method property.