CachedDataHostItemCollection Class
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.
Represents a collection of CachedDataHostItem objects in the data cache of a document-level customization that was created by using the Office development tools in Visual Studio.
public ref class CachedDataHostItemCollection sealed : System::Collections::ObjectModel::Collection<Microsoft::VisualStudio::Tools::Applications::CachedDataHostItem ^>
[System.Serializable]
public sealed class CachedDataHostItemCollection : System.Collections.ObjectModel.Collection<Microsoft.VisualStudio.Tools.Applications.CachedDataHostItem>
[<System.Serializable>]
type CachedDataHostItemCollection = class
inherit Collection<CachedDataHostItem>
Public NotInheritable Class CachedDataHostItemCollection
Inherits Collection(Of CachedDataHostItem)
- Inheritance
-
CachedDataHostItemCollection
- Attributes
Remarks
Use the HostItems property to obtain a CachedDataHostItemCollection for a solution document that has cached data.
For more information about caching data in document-level customizations, see Caching Data and Accessing Data in Documents on the Server.
Properties
Item[String] |
Gets the CachedDataHostItem identified by the namespace and class in which the source data is cached. |
Methods
Add(String) |
Adds the specified CachedDataHostItem to the end of the collection. |
Contains(String) |
Returns a value that indicates whether the collection contains the specified CachedDataHostItem. |
GetEnumerator() |
Returns a CachedDataHostItemEnumerator that can be used to iterate through the contents of the collection. |
Remove(String) |
Removes the specified CachedDataHostItem, identified by the namespace and class name in which the source data is cached, from the collection. |