public class CadBlockDictionary extends NonGenericDictionary implements com.aspose.ms.System.ICloneable
CAD blocks collection
Constructor and Description |
---|
CadBlockDictionary()
Initializes a new instance of the
CadBlockDictionary class. |
Modifier and Type | Method and Description |
---|---|
void |
add(String key,
CadBlockEntity value)
Adds a
CadBlockEntity to the dictionary. |
boolean |
containsKey(String key)
Determines whether
CadBlockEntity contained within this dictionary. |
Object |
deepClone()
Clones the dictionary.
|
CadBlockEntity |
get_Item(String key)
Gets the
CadBlockEntity with the specified key. |
com.aspose.ms.System.Collections.Generic.IGenericCollection<String> |
getKeysTyped()
Gets the strongly typed collection of keys.
|
com.aspose.ms.System.Collections.Generic.IGenericCollection<CadBlockEntity> |
getValuesTyped()
Gets the strongly typed values collection.
|
boolean |
remove(String key)
Removes the
CadBlockEntity with the specified key. |
void |
set_Item(String key,
CadBlockEntity value)
Gets or sets the
CadBlockEntity with the specified key. |
boolean |
tryGetValue(String key,
CadBlockEntity[] value)
Gets the value associated with the specified key.
|
addItem, addItem, clear, containsItem, containsKey, copyToTArray, get_Item, getKeys, getValues, isReadOnly, iterator_IEnumerator, iterator, removeItem, removeItemByKey, set_Item, size, tryGetValue
public CadBlockDictionary()
Initializes a new instance of the CadBlockDictionary
class.
public com.aspose.ms.System.Collections.Generic.IGenericCollection<String> getKeysTyped()
Gets the strongly typed collection of keys.
Value: The strongly typed keys collection.public com.aspose.ms.System.Collections.Generic.IGenericCollection<CadBlockEntity> getValuesTyped()
Gets the strongly typed values collection.
Value: The strongly typed values collection.public CadBlockEntity get_Item(String key)
Gets the CadBlockEntity
with the specified key.
key
- The CadBlockEntity
key.CadBlockEntity
for the specified key.
Value:
The CadBlockEntity
.public void set_Item(String key, CadBlockEntity value)
Gets or sets the CadBlockEntity
with the specified key.
key
- The CadBlockEntity
key.value
- The CadBlockEntity
value.public void add(String key, CadBlockEntity value)
Adds a CadBlockEntity
to the dictionary.
key
- The CadBlockEntity
key.value
- The CadBlockEntity
to add.public boolean containsKey(String key)
Determines whether CadBlockEntity
contained within this dictionary.
key
- The CadBlockEntity
key.public boolean remove(String key)
Removes the CadBlockEntity
with the specified key.
key
- The CadBlockEntity
key to remove.key
was not found in the dictionary.public boolean tryGetValue(String key, CadBlockEntity[] value)
Gets the value associated with the specified key.
key
- The key whose value to get.value
- When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value
parameter. This parameter is passed uninitialized.public Object deepClone()
Clones the dictionary.
deepClone
in interface com.aspose.ms.System.ICloneable
Copyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.