System.Web.XmlSiteMapProvider.PutInCollection C# (CSharp) Méthode

PutInCollection() private méthode

private PutInCollection ( string name, string classKey, string value, NameValueCollection &coll ) : void
name string
classKey string
value string
coll NameValueCollection
Résultat void
		void PutInCollection (string name, string classKey, string value, ref NameValueCollection coll)
		{
			if (coll == null)
				coll = new NameValueCollection ();
			if (!String.IsNullOrEmpty (classKey))
				coll.Add (name, classKey);
			coll.Add (name, value);
		}

Same methods

XmlSiteMapProvider::PutInCollection ( string name, string value, NameValueCollection &coll ) : void