System.Xml.XmlDictionary.TryLookup C# (CSharp) Méthode

TryLookup() public méthode

public TryLookup ( System value, System &result ) : bool
value System
result System
Résultat bool
        public virtual bool TryLookup(System.Xml.XmlDictionaryString value, out System.Xml.XmlDictionaryString result) { throw null; }
    }

Same methods

XmlDictionary::TryLookup ( int key, System &result ) : bool
XmlDictionary::TryLookup ( string value, System &result ) : bool

Usage Example

Exemple #1
0
		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");
		}
All Usage Examples Of System.Xml.XmlDictionary::TryLookup