Aracılığıyla paylaş


CachedDataHostItemCollection.Item[String] Property

Definition

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

public:
 property Microsoft::VisualStudio::Tools::Applications::CachedDataHostItem ^ default[System::String ^] { Microsoft::VisualStudio::Tools::Applications::CachedDataHostItem ^ get(System::String ^ hostItemId); };
public Microsoft.VisualStudio.Tools.Applications.CachedDataHostItem this[string hostItemId] { get; }
member this.Item(string) : Microsoft.VisualStudio.Tools.Applications.CachedDataHostItem
Default Public ReadOnly Property Item(hostItemId As String) As CachedDataHostItem

Parameters

hostItemId
String

The namespace and class in which the source data is cached.

Property Value

The CachedDataHostItem that corresponds to the hostItemId parameter; null if no CachedDataHostItem that corresponds to hostItemId was found.

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".

Applies to