แก้ไข

แชร์ผ่าน


ObjectListField.DataFormatString Property

Definition

Gets or sets the formatting string to use when formatting a data-bound value. The default is an empty string (""). This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 property System::String ^ DataFormatString { System::String ^ get(); void set(System::String ^ value); };
public string DataFormatString { get; set; }
member this.DataFormatString : string with get, set
Public Property DataFormatString As String

Property Value

The formatting string to use when formatting a data-bound value.

Remarks

The format of this string follows the conventions of the run-time String.Format method. If you leave this property set to its default value, the data is converted by using the default ToString converter.

Applies to

See also