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
dataId
Type: System.StringThe name of the cached data object.
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
- 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.