[Overview][Constants][Types][Classes][Procedures and functions][Index] | 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

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

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

Documentation generated on: Feb 26 2014