Discover the CustomXmlSchemaCollection IndexOf method, which efficiently finds the zero-based index of any specified value in your XML collection.... Count , Is . EqualTo ( 3 )); Assert...(); Assert . That ( schemas . Count , Is . EqualTo ( 0 )); See Also...