ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript
PropertyBag Class
PropertyBag Properties
Comparer Property
Item Property
Keys Property
Values Property

# PropertyBagItem Property

Gets or sets a property value in the PropertyBag.
Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    public Object this[
    	string key
    ] { get; set; }

    Public Default Property Item (
    	key As String
    ) As Object
    	Get
    	Set

    public:
    virtual property Object^ default[String^ key] {
    	Object^ get (String^ key) sealed;
    	void set (String^ key, Object^ value) sealed;
    }

    abstract Item : Object with get, set
    override Item : Object with get, set

#### Parameters

key String
  The name of the property to get or set.

#### Return Value

Object
The property value.

#### Implements

IDictionaryTKey, TValue ItemTKey
See Also

#### Reference

PropertyBag Class
Microsoft.ClearScript Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft