skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class DictionaryObject

Inheritance
System.Object
DynamicObject
DictionaryObject
ExpressionContext
Inherited Members
DynamicObject.IEnumerable<KeyValuePair<String, Object>>.GetEnumerator()
DynamicObject.IEnumerable.GetEnumerator()
DynamicObject.GetProperties()
DynamicObject.GetProperties(Attribute[])
DynamicObject.GetPropertyOwner(PropertyDescriptor)
Namespace: Telerik.Data.Expressions
Assembly: Telerik.WinControls.dll

Syntax

public class DictionaryObject : DynamicObject, IDictionary<string, object>, ICollection<KeyValuePair<string, object>>, IEnumerable<KeyValuePair<string, object>>, IEnumerable

Constructors

DictionaryObject()

Declaration
public DictionaryObject()

DictionaryObject(Dictionary<String, Object>)

Declaration
public DictionaryObject(Dictionary<string, object> properties)
Parameters
System.Collections.Generic.Dictionary<System.String, System.Object> properties

Properties

Count

Declaration
public int Count { get; }
Property Value
System.Int32

Implements
System.Collections.Generic.ICollection<T>.Count

IsReadOnly

Declaration
public bool IsReadOnly { get; }
Property Value
System.Boolean

Implements
System.Collections.Generic.ICollection<T>.IsReadOnly

Item[String]

Declaration
public object this[string name] { get; set; }
Parameters
System.String name

Property Value
System.Object

Implements
System.Collections.Generic.IDictionary<TKey, TValue>.Item[TKey]

Keys

Declaration
public ICollection<string> Keys { get; }
Property Value
System.Collections.Generic.ICollection<System.String>

Implements
System.Collections.Generic.IDictionary<TKey, TValue>.Keys

Values

Declaration
public ICollection<object> Values { get; }
Property Value
System.Collections.Generic.ICollection<System.Object>

Implements
System.Collections.Generic.IDictionary<TKey, TValue>.Values

Methods

Add(KeyValuePair<String, Object>)

Declaration
public void Add(KeyValuePair<string, object> item)
Parameters
System.Collections.Generic.KeyValuePair<System.String, System.Object> item

Implements
System.Collections.Generic.ICollection<T>.Add(T)

Add(String, Object)

Declaration
public virtual void Add(string key, object value)
Parameters
System.String key

System.Object value

Implements
System.Collections.Generic.IDictionary<TKey, TValue>.Add(TKey, TValue)

Clear()

Declaration
public virtual void Clear()
Implements
System.Collections.Generic.ICollection<T>.Clear()

Contains(KeyValuePair<String, Object>)

Declaration
public bool Contains(KeyValuePair<string, object> item)
Parameters
System.Collections.Generic.KeyValuePair<System.String, System.Object> item

Returns
System.Boolean

Implements
System.Collections.Generic.ICollection<T>.Contains(T)

ContainsKey(String)

Declaration
public bool ContainsKey(string key)
Parameters
System.String key

Returns
System.Boolean

Implements
System.Collections.Generic.IDictionary<TKey, TValue>.ContainsKey(TKey)

CopyTo(KeyValuePair<String, Object>[], Int32)

Declaration
public void CopyTo(KeyValuePair<string, object>[] array, int arrayIndex)
Parameters
System.Collections.Generic.KeyValuePair<System.String, System.Object>[] array

System.Int32 arrayIndex

Implements
System.Collections.Generic.ICollection<T>.CopyTo(T[], System.Int32)

GetEnumeratorInternal()

Declaration
protected override IEnumerator<KeyValuePair<string, object>> GetEnumeratorInternal()
Returns
System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<System.String, System.Object>>

Overrides
DynamicObject.GetEnumeratorInternal()

GetValue(String)

Declaration
protected override object GetValue(string name)
Parameters
System.String name

Returns
System.Object

Overrides
DynamicObject.GetValue(String)

Remove(KeyValuePair<String, Object>)

Declaration
public bool Remove(KeyValuePair<string, object> item)
Parameters
System.Collections.Generic.KeyValuePair<System.String, System.Object> item

Returns
System.Boolean

Implements
System.Collections.Generic.ICollection<T>.Remove(T)

Remove(String)

Declaration
public bool Remove(string key)
Parameters
System.String key

Returns
System.Boolean

Implements
System.Collections.Generic.IDictionary<TKey, TValue>.Remove(TKey)

SetValue(String, Object)

Declaration
protected override void SetValue(string name, object value)
Parameters
System.String name

System.Object value

Overrides
DynamicObject.SetValue(String, Object)

TryGetValue(String, out Object)

Declaration
public bool TryGetValue(string key, out object value)
Parameters
System.String key

System.Object value

Returns
System.Boolean

Implements
System.Collections.Generic.IDictionary<TKey, TValue>.TryGetValue(TKey, TValue)

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.