Freigeben über


DocumentSecurity-Klasse

Document Security.When the object is serialized out as xml, its qualified name is ap:DocSecurity.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.OpenXmlLeafTextElement
        DocumentFormat.OpenXml.ExtendedProperties.DocumentSecurity

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

Syntax

'Declaration
Public Class DocumentSecurity _
    Inherits OpenXmlLeafTextElement
'Usage
Dim instance As DocumentSecurity
public class DocumentSecurity : OpenXmlLeafTextElement

Hinweise

[ISO/IEC 29500-1 1. Ausgabe]

22.2.2.7 DocSecurity (Document Security)

This metadata element specifies the security level of a document as a numeric value. Document security is defined as:

DocSecurity

Security Level

1

Document is password protected.

2

Document is recommended to be opened as read-only.

4

Document is enforced to be opened as read-only.

8

Document is locked for annotation.

The possible values for this element are defined by the W3C XML Schema int datatype.

Parent Elements

Properties (§22.2.2.21)

© ISO/IEC29500: 2008. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

DocumentSecurity-Member

DocumentFormat.OpenXml.ExtendedProperties-Namespace