Partilhar via


CachedDataItemCollection.Item Property (String)

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

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 ( _
    dataId As String _
) As CachedDataItem
public CachedDataItem this[
    string dataId
] { get; }

Parameters

Property Value

Type: Microsoft.VisualStudio.Tools.Applications.CachedDataItem
The CachedDataItem that corresponds to the dataID parameter; nulla null reference (Nothing in Visual Basic) if no CachedDataItem that corresponds to dataID was found.

Remarks

A CachedDataItem provides access to a cached data object in a document-level customization.

.NET Framework Security

See Also

Reference

CachedDataItemCollection Class

Item Overload

Microsoft.VisualStudio.Tools.Applications Namespace