src/umbraco.presentation.xslt.Exslt/ExsltNodeList.cs
/// <summary>
/// Determines whether the list contains a navigator whose Value property matches
/// the target value
/// </summary>
/// <param name="value">The value to locate in the list.</param>
/// <returns>true if the value is found in the list; otherwise, false.</returns>
Determines whether the list contains a navigator whose Value property matches
the target value
Determines whether the list contains a navigator whose Value property matches the target value
public bool ContainsValue(string  value){
			foreach(XPathNavigator nav in this.innerList){
				if(nav.Value.Equals(value)){
					return true;
				}
			}
			return false; 
		}
public bool ContainsValue ( string value ) { foreach ( XPathNavigator nav in this . innerList ) { if ( nav . Value . Equals ( value ) ) { return true ; } } return false ; }
Determines whether the list contains a navigator whose Value property matches
the target value
Determines whether the list contains a navigator whose Value property matches the target value
true if the value is found in the list; otherwise, false.
true if the value is found in the list ; otherwise false .
value
string
The value to locate in the list.
The value to locate in the list .