Share via


MarkupCompatibilityAttributes.PreserveElements Property

Defines a whitespace-delimited list of element qualified names identifying the expanded names of elements that a markup producer suggests for preservation by markup editors, even if the elements themselves are ignored.

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

Syntax

'Declaration
Public Property PreserveElements As StringValue
    Get
    Set
'Usage
Dim instance As MarkupCompatibilityAttributes
Dim value As StringValue

value = instance.PreserveElements

instance.PreserveElements = value
public StringValue PreserveElements { get; set; }

Property Value

Type: DocumentFormat.OpenXml.StringValue

See Also

Reference

MarkupCompatibilityAttributes Class

MarkupCompatibilityAttributes Members

DocumentFormat.OpenXml Namespace