CachedDataItemCollection.Contains Method (2003 System)
Returns a value that indicates whether the collection contains the specified CachedDataItem.
Namespace: Microsoft.VisualStudio.Tools.Applications.Runtime
Assembly: Microsoft.VisualStudio.Tools.Applications.Runtime (in Microsoft.VisualStudio.Tools.Applications.Runtime.dll)
Syntax
'Declaration
Public Function Contains ( _
dataId As String _
) As Boolean
'Usage
Dim instance As CachedDataItemCollection
Dim dataId As String
Dim returnValue As Boolean
returnValue = instance.Contains(dataId)
public bool Contains(
string dataId
)
Parameters
- dataId
Type: System.String
The name of the cached data object.
Return Value
Type: System.Boolean
true if the collection contains a CachedDataItem that corresponds to the dataId parameter; otherwise, false.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
CachedDataItemCollection Class