Freigeben über


FormFieldName-Klasse

Form Field Name.When the object is serialized out as xml, its qualified name is w:name.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Wordprocessing.FormFieldName

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

Syntax

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

Hinweise

[ISO/IEC 29500-1 1. Ausgabe]

17.16.22 name (Form Field Name)

This element specifies the name of the current form field.

[Example: Consider the following WordprocessingML fragment for a text box form field:

<w:fldSimple w:instr="FORMTEXT">
<w:ffData>
<w:name w:val="FirstName"/>
<w:textInput>
…
</w:textInput>
</w:ffData>
</w:fldSimple>

The name element specifies that the name of the current form field is FirstName. end example]

Parent Elements

ffData (§17.16.17)

Attributes

Description

val (Form Field Name Value)

Specifies the name of the form field.

If this attribute is omitted, then the parent form field shall have no name.

[Example: Consider the following WordprocessingML fragment for a

form field:

<w:ffData>
<w:name w:val="ExampleFieldName"/>
</w:ffData>

The val attribute specifies that the name of the current form field is ExampleFieldName. end example]

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

[Note: The W3C XML Schema definition of this element's content model (CT_FFName) is located in §A.1. 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

FormFieldName-Member

DocumentFormat.OpenXml.Wordprocessing-Namespace