Share via


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
    Get
public CachedDataHostItem this[
    string hostItemId
] { get; }

Parameters

  • hostItemId
    Type: System.String
    The 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

See Also

Reference

CachedDataHostItemCollection Class

Item Overload

Microsoft.VisualStudio.Tools.Applications Namespace