WebExtensionProperty class

Office 2013 and later

Defines the WebExtensionProperty Class.This class is only available in Office2013. When the object is serialized out as xml, its qualified name is we:property.

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Office2013.WebExtension.WebExtensionProperty

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

[OfficeAvailabilityAttribute(FileFormatVersions.Office2013)]
public class WebExtensionProperty : OpenXmlLeafElement

2.2.1 CT_OsfWebExtensionProperty

Target namespace: http://schemas.microsoft.com/office/webextensions/webextension/2010/11

Referenced by: CT_OsfWebExtensionPropertyBag

A complex type that specifies an office app custom property.

Attributes:

name: A string ([XMLSCHEMA2] section 3.2.1) attribute that specifies a custom property name.

value: A string ([XMLSCHEMA2] section 3.2.1) attribute that specifies a custom property value.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.

<xsd:complexType name="CT_OsfWebExtensionProperty">

<xsd:attribute name="name" type="xsd:string" use="required"/>

<xsd:attribute name="value" type="xsd:string" use="required"/>

</xsd:complexType>

See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: