Document Solutions for Word
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / VariableCollection Class / TryGetValue Method
The variable name.
Found variable or null.

In This Topic
    TryGetValue Method (VariableCollection)
    In This Topic
    Tries to get a variable by its name.
    Syntax
    'Declaration
     
    Public Function TryGetValue( _
       ByVal name As System.String, _
       ByRef variable As Variable _
    ) As System.Boolean
    public System.bool TryGetValue( 
       System.string name,
       out Variable variable
    )

    Parameters

    name
    The variable name.
    variable
    Found variable or null.

    Return Value

    true if a variable found, otherwise false.
    See Also