Freigeben über


TextField-Klasse

Text Import Field Settings.When the object is serialized out as xml, its qualified name is x:textField.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Spreadsheet.TextField

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

Syntax

'Declaration
Public Class TextField _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As TextField
public class TextField : OpenXmlLeafElement

Hinweise

[ISO/IEC 29500-1 1. Ausgabe]

18.13.10 textField (Text Import Field Settings)

This element specifies field settings for text import.

Parent Elements

textFields (§18.13.11)

Attributes

Description

position (Position)

The character position the field starts at for fixed-length fields. The index is 0-based. If this attribute does not exist, position=0 is assumed. Subsequent textField elements or carriage returns in the text stream serve to denote endpoints for text fields.

The possible values for this attribute are defined by the W3C XML Schema unsignedInt datatype.

type (Field Type)

Specifies the field Type. When text is imported into cells in the worksheet, the data in the cells are converted to the field type defined here.

Types can be specified by the user, or determined algorithmically via heuristics and text analysis.

The possible values for this attribute are defined by the ST_ExternalConnectionType simple type (§18.18.27).

[Note: The W3C XML Schema definition of this element's content model (CT_TextField) is located in §A.2. end note]

© ISO/IEC29500: 2008. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

TextField-Member

DocumentFormat.OpenXml.Spreadsheet-Namespace