ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript
PropertyBag Class
PropertyBag Constructor
PropertyBag Constructor
PropertyBag(Boolean) Constructor
PropertyBag(IEqualityComparer<String>) Constructor
PropertyBag(Boolean, IEqualityComparer<String>) Constructor

# PropertyBag(Boolean) Constructor

Initializes a new PropertyBag with the default property name comparer.
Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    public PropertyBag(
    	bool isReadOnly
    )

    Public Sub New (
    	isReadOnly As Boolean
    )

    public:
    PropertyBag(
    	bool isReadOnly
    )

    new :
            isReadOnly : bool -> PropertyBag

#### Parameters

isReadOnly Boolean
  True to make the PropertyBag read-only, false to make it writable.

Remarks
The host can modify a read-only PropertyBag by calling SetPropertyNoCheck, RemovePropertyNoCheck, or ClearNoCheck.
See Also

#### Reference

PropertyBag Class
PropertyBag Overload
Microsoft.ClearScript Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft