Compartir a través de


FormFieldName Class

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

Inheritance Hierarchy

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

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

Syntax

'Declaración
Public Class FormFieldName _
    Inherits OpenXmlLeafElement
'Uso
Dim instance As FormFieldName
public class FormFieldName : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 1ª edición]

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. Los extractos anteriores han sido traducidos del inglés al español por Microsoft (o algunos de sus agentes) e ISO no asume ningún tipo de responsabilidad por dichas traducciones.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

FormFieldName Members

DocumentFormat.OpenXml.Wordprocessing Namespace