CachedDataHostItemCollection.Contains(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a value that indicates whether the collection contains the specified CachedDataHostItem.
public:
bool Contains(System::String ^ hostItemId);
public bool Contains (string hostItemId);
override this.Contains : string -> bool
Public Function Contains (hostItemId As String) As Boolean
Parameters
- hostItemId
- String
The namespace and class in which the source data is cached.
Returns
true
if the collection contains a CachedDataHostItem that corresponds to the hostItemId
parameter; otherwise, false
.
Remarks
The hostItemId
parameter is a string that specifies the namespace and the class in the solution document that contains the cached data. The namespace and class name are separated by a period (.), for example, "ExcelWorkbook1.ThisWorkbook".