# TryGetVariable

## TryGetVariable(string, out object)

public bool TryGetVariable(string name, out object value) ;

### Description

Get the value of Variable.

### Parameters

Parameter Name | Description
--- | ---
name | Name.
value | The value you get.

### Returns

The true when there parameters of the specified name.

## TryGetVariable(int, out object)

public bool TryGetVariable(int id, out object value) ;

### Description

Get the value of Variable.

### Parameters

Parameter Name | Description
--- | ---
id | ID.
value | The value you get.

### Returns

The true when there parameters of the specified name.

## TryGetVariable<TVariable>(string, out TVariable)

public bool TryGetVariable<TVariable>(string name, out TVariable value) ;

### Description

Get the value of Variable.

### Type Parameters

Type Parameter Name | Description | Type Constraints
--- | --- | ---
TVariable | Type of Variable to get |

### Parameters

Parameter Name | Description
--- | ---
name | Name.
value | The value you get.

### Returns

The true when there parameters of the specified name.

## TryGetVariable<TVariable>(int, out TVariable)

public bool TryGetVariable<TVariable>(int id, out TVariable value) ;

### Description

Get the value of Variable.

### Type Parameters

Type Parameter Name | Description | Type Constraints
--- | --- | ---
TVariable | Type of Variable to get |

### Parameters

Parameter Name | Description
--- | ---
id | ID.
value | The value you get.

### Returns

The true when there parameters of the specified name.