Property element (Property Bag)
Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Specifies a custom property and its value for a property bag of a list item, file, folder, or website.
Definition
<Property
Name = "Text"
Value = "Text"
Type = "PropertyBagType"/>
Elements and attributes
The following sections describe attributes, child elements, and parent elements.
Attributes
Attribute |
Description |
---|---|
**Name** |
Required **Text**. Specifies the name of the property. |
**Value** |
Required **Text**. Specifies the value of the property. |
**Type** |
Optional **PropertyBagType** enumeration. Must be one of **int**, **string**, or **DateTime**. Specifies the type of property. |
Child elements
None
Parent elements
Occurrences
Minimum: 0 Maximum: Unbounded |
Example
For an example of how this element is used, see Property Bag Schema.