public static bool GetElement( String targetNamespace, String typeName, out XmlSchemaElement element ) { element = null; bool hasType = Instance._elements.ContainsKey( targetNamespace + ":" + typeName ); if (hasType) element = Instance._elements[targetNamespace + ":" + typeName]; return hasType; }