[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.VariableCollection.TryGetValue

TryGetValue Method

TryGetValue(string, out Variable)

Tries to get a variable by its name.

Declaration
public bool TryGetValue(string name, out Variable variable)
Public Function TryGetValue(name As String, ByRef variable As Variable) As Boolean
Parameters
Type Name Description
string name

The variable name.

Variable variable

Found variable or null.

Returns
Type Description
bool

true if a variable found, otherwise false.