Share via


RemovePersonalInformation Class

Remove Personal Information from Document Properties.When the object is serialized out as xml, its qualified name is w:removePersonalInformation.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Wordprocessing.OnOffType
        DocumentFormat.OpenXml.Wordprocessing.RemovePersonalInformation

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

Syntax

'Declaration
Public Class RemovePersonalInformation _
    Inherits OnOffType
'Usage
Dim instance As RemovePersonalInformation
public class RemovePersonalInformation : OnOffType

Remarks

[ISO/IEC 29500-1 1st Edition]

17.15.1.68 removePersonalInformation (Remove Personal Information from Document Properties)

This element specifies that hosting applications shall remove all personal information of document authors upon saving a given WordprocessingML document. The definition and extent of personal information is not defined by ISO/IEC 29500.

If this element is omitted, then personal information shall not be removed when the document is saved.

[Example: Consider a WordprocessingML document that must not save personal information in the document. This state is specified using the following WordprocessingML in the document settings:

<w:removePersonalInformation w:val="true" />

The removePersonalInformation element's val attribute has a value of true specifying that applications must remove any personal information when saving this file. end example]

Parent Elements

settings (§17.15.1.78)

This element’s content model is defined by the common boolean property definition in §17.17.4.

© ISO/IEC29500: 2008.

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

RemovePersonalInformation Members

DocumentFormat.OpenXml.Wordprocessing Namespace