Share via


CachedDataItemCollection.Contains Method (String)

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

Namespace:  Microsoft.VisualStudio.Tools.Applications
Assembly:  Microsoft.VisualStudio.Tools.Applications.ServerDocument (in Microsoft.VisualStudio.Tools.Applications.ServerDocument.dll)

Syntax

'Declaration
Public Function Contains ( _
    dataId As String _
) As Boolean
public bool Contains(
    string dataId
)

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

CachedDataItemCollection Class

Contains Overload

Microsoft.VisualStudio.Tools.Applications Namespace