Aspose::Words::VariableCollection::idx_get method. Gets or a sets a document variable by the case-insensitive name. null values are not allowed as a right hand side of the assignment and will be replaced by empty string in C++....IndexOfKey ( u "City" )); ASSERT_EQ ( 2 , variables -> IndexOfKey ( u...-> Contains ( u "City" )); // 2 - By index: variables -> RemoveAt...