Share via


SPPropertyBag Class

Stores arbitrary key-and-value pairs that contain custom property settings.

Inheritance Hierarchy

System.Object
  System.Collections.Specialized.StringDictionary
    Microsoft.SharePoint.Utilities.SPPropertyBag

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Class SPPropertyBag _
    Inherits StringDictionary

Dim instance As SPPropertyBag
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public class SPPropertyBag : StringDictionary

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

SPPropertyBag Members

Microsoft.SharePoint.Utilities Namespace