CachedDataHostItemCollection.Item Property (String)
Gets the CachedDataHostItem identified by the namespace and class in which the source data is cached.
Namespace: Microsoft.VisualStudio.Tools.Applications
Assembly: Microsoft.VisualStudio.Tools.Applications.ServerDocument (in Microsoft.VisualStudio.Tools.Applications.ServerDocument.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
hostItemId As String _
) As CachedDataHostItem
public CachedDataHostItem this[
string hostItemId
] { get; }
Parameters
hostItemId
Type: System.StringThe namespace and class in which the source data is cached.
Property Value
Type: Microsoft.VisualStudio.Tools.Applications.CachedDataHostItem
The CachedDataHostItem that corresponds to the hostItemId parameter; nulla null reference (Nothing in Visual Basic) 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".
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.