NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

StringTable.Contains

Determines whether a specific string is in the StringTable.

[Visual Basic]
Overridable Public Function Contains( _
   ByVal key As String _
) As Boolean
[C#]
public virtual bool Contains(
   string key
);
[C++]
public: virtual bool Contains(
   String* key
);
[JScript]
public function Contains(
   key : String
) : Boolean;

Parameters

key
The String to locate.

Return Value

true if key is in the StringTable; otherwise, false.

Exceptions

Exception Type Condition
ArgumentNullException key is a null reference (in Visual Basic Nothing).

Remarks

This method can be overridden by a derived class.

This method is an O(1) operation.

See Also

StringTable Class | StringTable Members | System.Collections Namespace | String