Contains(T) Method

Glimpse API

DataStoreExtensions Contains T  Method Glimpse API Documentation
Determines whether store contains and item with a key of T.

Namespace: Glimpse.Core.Extensions
Assembly: Glimpse.Core (in Glimpse.Core.dll) Version: (1.0.1)


public static bool Contains<T>(
	this IDataStore store
public static bool Contains<T>(
	this IDataStore store


Type: Glimpse.Core.Extensibility IDataStore
The data store instance.
Type Parameters

The item key.

Return Value

true if store contains the item; otherwise, false.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IDataStore. When you use instance method syntax to call this method, omit the first parameter. For more information, see OnlineExtension Methods (Visual Basic) or OnlineExtension Methods (C# Programming Guide).
See Also