Property Element (Property Bag)

Applies to: SharePoint Foundation 2010

Specifies a custom property and its value for a property bag of a list item, file, folder, or website.

<Property
  Name = "Text"
  Value = "Text"
  Type = "PropertyBagType"/>

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

PropertyBag

Occurrences

Minimum: 0

Maximum: Unbounded

Example

For an example of how this element is used, see Property Bag Schema.