Discover the CustomXmlSchemaCollection IndexOf method, which efficiently finds the zero-based index of any specified value in your XML collection.... EqualTo ( 2 )); // Enumerate the schemas and...index: schemas . RemoveAt ( 2 ); // 2 - Remove a schema by value:...