IBX.IBCustomDataSet.TIBStringField.Value

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Value: UnicodeString read GetAsWideString write SetAsWideString;

C++

__property System::UnicodeString Value = {read=GetAsWideString, write=SetAsWideString};

Properties

Type Visibility Source Unit Parent
property public
IBX.IBCustomDataSet.pas
IBX.IBCustomDataSet.hpp
IBX.IBCustomDataSet TIBStringField

Description

Represents the data in the string field.

IBX.IBCustomDataSet.TIBStringField.Value inherits from Data.DB.TWideStringField.Value. All content below this line refers to Data.DB.TWideStringField.Value.

Represents the data in the string field.

Use Value to read data directly from and write data directly to a string field component at runtime. Using the Value property is the same as using the AsString property. Use Value when you know the field component is a wide string field. Use AsString when working with a generic field component.

When setting the Value property, TWideStringField converts the assigned string from UTF-8 or ANSI to the character set for the dataset if the Transliterate property is true. Strings that have more characters than permitted by the value of the Size property are truncated when setting Value.



Table1TheWideStringField.Value := WideStringVariable;



See Also