CachedDataItemCollection Class

 

Represents a collection of CachedDataItem objects in 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::CachedDataItemCollection

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

NameDescription
System_CAPS_pubpropertyCount

(Inherited from Collection<T>.)

System_CAPS_pubpropertyItem[Int32]

(Inherited from Collection<T>.)

System_CAPS_pubpropertyItem[String^]

Gets the CachedDataItem identified by the name of the cached data object.

NameDescription
System_CAPS_pubmethodAdd(T)

(Inherited from Collection<T>.)

System_CAPS_pubmethodAdd(String^, String^)

Adds the specified CachedDataItem 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 CachedDataItem.

System_CAPS_pubmethodCopyTo(array<T>^, Int32)

(Inherited from Collection<T>.)

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

Returns a CachedDataItemEnumerator 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 CachedDataItem, identified by the name of the cached data object, from the collection.

System_CAPS_pubmethodRemoveAt(Int32)

(Inherited from Collection<T>.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Use the CachedData property to obtain a CachedDataItemCollection for an Office 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: