Class CadBlockDictionary

CadBlockDictionary class

CAD blocks collection

public class CadBlockDictionary : NonGenericDictionary, ICloneable

Constructors

NameDescription
CadBlockDictionary()Initializes a new instance of the CadBlockDictionary class.

Properties

NameDescription
Count { get; }Gets the number of elements contained in the ICollection.
IsFixedSize { get; }Gets a value indicating whether the IDictionary object has a fixed size.
IsReadOnly { get; }Gets a value indicating whether the IDictionary object is read-only.
IsSynchronized { get; }Gets a value indicating whether access to the ICollection is synchronized (thread safe).
Item { get; set; }Gets or sets the CadBlockEntity with the specified key. (2 indexers)
Keys { get; }Gets an ICollection object containing the keys of the IDictionary object.
KeysTyped { get; }Gets the strongly typed collection of keys.
SyncRoot { get; }Gets an object that can be used to synchronize access to the ICollection.
Values { get; }Gets an ICollection object containing the values in the IDictionary object.
ValuesTyped { get; }Gets the strongly typed values collection.

Methods

NameDescription
Add(object, object)Adds an element with the provided key and value to the IDictionary object.
Add(string, CadBlockEntity)Adds a CadBlockEntity to the dictionary.
Clear()Removes all elements from the IDictionary object.
Clone()Clones the dictionary.
Contains(object)Determines whether the IDictionary object contains an element with the specified key.
ContainsKey(string)Determines whether CadBlockEntity contained within this dictionary.
CopyTo(Array, int)Copies the elements of the ICollection to an Array, starting at a particular Array index.
GetEnumerator()Gets the enumerator.
Remove(object)Removes the element with the specified key from the IDictionary object.
Remove(string)Removes the CadBlockEntity with the specified key.
TryGetValue(string, out CadBlockEntity)Gets the value associated with the specified key.

See Also