DocPartId.Val Property
GUID 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 DocPartId
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 128-bit globally unique identifier (GUID) value as defined by the simple type referenced below. The contents of this GUID shall be interpreted based on the context of the parent XML element.
If this attribute is omitted, its value shall be assumed to be null (in other words, no GUID shall be associated with the parent XML element).
Consider the following WordprocessingML element:
<… w:val="{6A9B8B6F-5BD2-4BC8-9F70-7020E1357FB2}"/>
The val attribute value of {6A9B8B6F-5BD2-4BC8-9F70-7020E1357FB2} shall be associated with the context of the parent XML element.
The possible values for this attribute are defined by the ST_Guid simple type.