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

SetWideStrProp

Set a widestring property

Declaration

Source position: line 0

procedure SetWideStrProp(

  Instance: TObject;

  const PropName: String;

  const Value: WideString

);

procedure SetWideStrProp(

  Instance: TObject;

  PropInfo: PPropInfo;

  const Value: WideString

);

Description

SetWideStrPropassigns Valueto the widestring property described by PropInfoor with name Propnamefor object Instance.

Errors

No checking is done whether Instanceis non-nil, or whether PropInfodescribes a valid widestring property of Instance. Specifying an invalid property name in PropNamewill result in an EPropertyErrorexception.

See also

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