public TryLookup ( int key, System &result ) : bool | ||
key | int | |
result | System | |
return | bool |
public virtual bool TryLookup(int key, out System.Xml.XmlDictionaryString result) { throw null; }
public virtual bool TryLookup(string value, out System.Xml.XmlDictionaryString result) { throw null; }
public void EmptyAfterAdd () { XmlDictionary d = new XmlDictionary (); XmlDictionaryString dns; d.Add ("foo"); Assert.IsFalse (d.TryLookup (String.Empty, out dns), "#0"); Assert.IsTrue (d.TryLookup ("foo", out dns), "#1"); Assert.AreEqual (0, dns.Key, "#2"); }