共用方式為


CellType.DataType Property

Cell Data Type.Represents the attribte in schema: t

Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<SchemaAttrAttribute(, "t")> _
Public Property DataType As EnumValue(Of CellValues)
    Get
    Set
'Usage
Dim instance As CellType
Dim value As EnumValue(Of CellValues)

value = instance.DataType

instance.DataType = value
[SchemaAttrAttribute(, "t")]
public EnumValue<CellValues> DataType { get; set; }

Property Value

Type: DocumentFormat.OpenXml.EnumValue<CellValues>

See Also

Reference

CellType Class

CellType Members

DocumentFormat.OpenXml.Spreadsheet Namespace