MetaColumn.DataFormatString Property

Definition

Gets the string that specifies the display format for the field value.

public string DataFormatString { get; }

Property Value

The string that specifies the display format for the field value.

Implements

Remarks

The DataFormatString property verifies if a DisplayFormatAttribute attribute is applied to the data field and retrieves the value of the DisplayFormatAttribute.DataFormatString property. If a DisplayFormatAttribute attribute is not found, this property verifies if a DataTypeAttribute attribute is applied to retrieve formatting information.

Applies to

제품 버전
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also