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
dataId
Type: System.StringThe 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.
.NET Framework Security
- 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.