ImmutableDictionary<TKey,TValue>.ContainsValue(TValue) Método
Definición
Determina si el diccionario inmutable contiene un elemento con el valor especificado.Determines whether the immutable dictionary contains an element with the specified value.
public:
virtual bool ContainsValue(TValue value);
public:
bool ContainsValue(TValue value);
public bool ContainsValue (TValue value);
abstract member ContainsValue : 'Value -> bool
override this.ContainsValue : 'Value -> bool
member this.ContainsValue : 'Value -> bool
Public Function ContainsValue (value As TValue) As Boolean
Parámetros
- value
- TValue
Valor que se va a buscar.The value to locate. El valor puede ser null
para los tipos de referencia.The value can be null
for reference types.
Devoluciones
true
si el diccionario contiene un elemento con el valor especificado; en caso contrario, false
.true
if the dictionary contains an element with the specified value; otherwise, false
.