Partager via


CachedDataItemCollection.Contains(String) Method

Definition

Returns a value that indicates whether the collection contains the specified CachedDataItem.

public:
 bool Contains(System::String ^ dataId);
public bool Contains (string dataId);
override this.Contains : string -> bool
Public Function Contains (dataId As String) As Boolean

Parameters

dataId
String

The name of the cached data object.

Returns

true if the collection contains a CachedDataItem that corresponds to the dataId parameter; otherwise, false.

Applies to