PropertyBag class

Serves as the base class for generic versions of the PropertyBag class, which enables the scenario of having a parent class declaring its bag as PropertyBag, and the child class building it as PropertyBag<ChildClass>.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Search.Query.PropertyBag
    Microsoft.SharePoint.Search.Query.PropertyBag<T>

Namespace:  Microsoft.SharePoint.Search.Query
Assembly:  Microsoft.SharePoint.Search (in Microsoft.SharePoint.Search.dll)

Syntax

'Declaration
Public MustInherit Class PropertyBag _
    Implements IPropertyCollection, IEnumerable(Of KeyValuePair(Of String, Object)),  _
    IEnumerable
'Usage
Dim instance As PropertyBag
public abstract class PropertyBag : IPropertyCollection, 
    IEnumerable<KeyValuePair<string, Object>>, IEnumerable

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

PropertyBag members

Microsoft.SharePoint.Search.Query namespace