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, IEqualityComparerString) Constructor

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

    public PropertyBag(
    	bool isReadOnly,
    	IEqualityComparer<string> comparer
    )

    Public Sub New (
    	isReadOnly As Boolean,
    	comparer As IEqualityComparer(Of String)
    )

    public:
    PropertyBag(
    	bool isReadOnly,
    	IEqualityComparer<String^>^ comparer
    )

    new :
            isReadOnly : bool *
            comparer : IEqualityComparer<string> -> PropertyBag

#### Parameters

isReadOnly Boolean
  True to make the PropertyBag read-only, false to make it writable.
comparer IEqualityComparer String
  The comparer to use for property names, or null to use the default string comparer.

See Also

#### Reference

PropertyBag Class
PropertyBag Overload
Microsoft.ClearScript Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft