SiteMapDictionaryTryGetValue - метод

Gets the value associated with the specified key.

Пространство имён:  Telerik.Web.Mvc
Сборка:  Telerik.Web.Mvc (в Telerik.Web.Mvc.dll) Версия: 2011.1.315.340
Синтаксис
C#
public bool TryGetValue(
	string key,
	out SiteMapBase value
)

Параметры

key
Тип: String
The key whose value to get.
value
Тип: Telerik.Web.MvcSiteMapBase
When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized.

Возвращаемое значение

Тип: Boolean
true if the object that implements IDictionary contains an element with the specified key; otherwise, false.

Реализации

IDictionary.TryGetValue(UTP, UTP)
Исключения
ИсключениеУсловие
ArgumentNullExceptionkey is null.
См. также