
## try_get_value {#str-any}

Gets the value associated with the specified key.


### Returns 


True if the dictionary contains an element with the specified key; otherwise, false.


```python
def try_get_value(self, key, value):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| key | str | The key whose value to get. |
| value | any | 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. |



### See Also
* module [`aspose.cad.fileformats.cad`](../../)
* class [`CadLayoutDictionary`](/cad/python-net/aspose.cad.fileformats.cad/cadlayoutdictionary)
