This topic has not yet been rated - Rate this topic

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)
public abstract class PropertyBag : IPropertyCollection, 
	IEnumerable

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.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.