DocPartName.Val Property

Name Value.Represents the attribte in schema: w:val

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

Syntax

'Declaration
<SchemaAttrAttribute(, "val")> _
Public Property Val As StringValue
    Get
    Set
'Usage
Dim instance As DocPartName
Dim value As StringValue

value = instance.Val

instance.Val = value
[SchemaAttrAttribute(, "val")]
public StringValue Val { get; set; }

Property Value

Type: DocumentFormat.OpenXml.StringValue
Returns StringValue.

Remarks

The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.

Specifies a string value which contains the name of the current glossary document entry.

Consider the following WordprocessingML fragment for the name of a single glossary document entry:

<w:name w:val="Sample Entry" />

The val attribute specifies that the name of the parent entry is Sample Entry.

The possible values for this attribute are defined by the ST_String simple type.

See Also

Reference

DocPartName Class

DocPartName Members

DocumentFormat.OpenXml.Wordprocessing Namespace