CachedDataHostItemCollection Class

 

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.

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

System::Object
  System.Collections.ObjectModel::Collection<T>
    Microsoft.VisualStudio.Tools.Applications::CachedDataHostItemCollection

[SerializableAttribute]
[PermissionSetAttribute(SecurityAction::Demand, Name = "FullTrust")]
public ref class CachedDataHostItemCollection sealed : Collection<CachedDataHostItem^>

NameDescription
System_CAPS_pubpropertyCount

(Inherited from Collection<T>.)

System_CAPS_pubpropertyItem[Int32]

(Inherited from Collection<T>.)

System_CAPS_pubpropertyItem[String^]

Gets the CachedDataHostItem identified by the namespace and class in which the source data is cached.

NameDescription
System_CAPS_pubmethodAdd(T)

(Inherited from Collection<T>.)

System_CAPS_pubmethodAdd(String^)

Adds the specified CachedDataHostItem to the end of the collection.

System_CAPS_pubmethodClear()

(Inherited from Collection<T>.)

System_CAPS_pubmethodContains(T)

(Inherited from Collection<T>.)

System_CAPS_pubmethodContains(String^)

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

System_CAPS_pubmethodCopyTo(array<T>^, Int32)

(Inherited from Collection<T>.)

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

Returns a CachedDataHostItemEnumerator that can be used to iterate through the contents of the collection.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIndexOf(T)

(Inherited from Collection<T>.)

System_CAPS_pubmethodInsert(Int32, T)

(Inherited from Collection<T>.)

System_CAPS_pubmethodRemove(T)

(Inherited from Collection<T>.)

System_CAPS_pubmethodRemove(String^)

Removes the specified CachedDataHostItem, identified by the namespace and class name in which the source data is cached, from the collection.

System_CAPS_pubmethodRemoveAt(Int32)

(Inherited from Collection<T>.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: