Share via


SemanticValue.Contains Method

Indicates whether the current SemanticValue instance collection contains a specific key and specific instance of SemanticValue expressed as a key value pair.

Namespace: Microsoft.Speech.Recognition
Assembly: Microsoft.Speech (in microsoft.speech.dll)

Syntax

'Declaration

Parameters

  • item
    An instance of SemanticValue instantiated for given value of a key string and a SemanticValue instance.

Return Value

Returns a bool which is true if the current SemanticValue contains an instance of KeyValuePare<String,``SemanticValue> for a specified value of the key string and the SemanticValue. Otherwise, false is returned.

Thread Safety

All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition

Target Platforms

See Also

Reference

SemanticValue Class
SemanticValue Members
Microsoft.Speech.Recognition Namespace