Share via


PropertyBag class

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

Inheritance hierarchy

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)

Syntax

'Declaration
Public MustInherit Class PropertyBag _
    Implements IPropertyCollection, IEnumerable
'Usage
Dim instance As PropertyBag
public abstract class PropertyBag : IPropertyCollection, 
    IEnumerable

Remarks

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

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.Office.Server.Search.Query namespace