Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

PropertyBag class

SharePoint 2013

Represents the base class for generic versions of a property bag.

System.Object
  Microsoft.Office.Server.Search.Query.PropertyBag
    Microsoft.Office.Server.Search.Query.PropertyBag<T>

Namespace:  Microsoft.Office.Server.Search.Query
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

'Declaration
Public MustInherit Class PropertyBag _
	Implements IPropertyCollection, IEnumerable
'Usage
Dim instance As PropertyBag

This class enables the scenario of having a parent class declaring its bag as PropertyBag, and the child class building it as PropertyBag<ChildClass>.

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:
© 2015 Microsoft