DataGridViewHeaderCell.FormattedValueType 属性

定义

获取单元格的格式化值的类型。Gets the type of the formatted value of the cell.

public:
 virtual property Type ^ FormattedValueType { Type ^ get(); };
public override Type FormattedValueType { get; }
member this.FormattedValueType : Type
Public Overrides ReadOnly Property FormattedValueType As Type

属性值

Type

一个 Type 对象,表示 String 类型。A Type object representing the String type.

注解

Value属性是单元中包含的实际数据对象,而 FormattedValue 属性是数据的格式化表示形式。The Value property is the actual data object contained by the cell, whereas the FormattedValue property is the formatted representation of the data. ValueTypeFormattedValueType 属性分别对应于这些值的数据类型。The ValueType and FormattedValueType properties correspond to the data types of these values, respectively.

适用于

另请参阅