CachedDataHostItemCollection.Remove Method (String) (2003 System)
Removes the specified CachedDataHostItem, identified by the namespace and class name in which the source data is cached, from the collection.
Namespace: Microsoft.VisualStudio.Tools.Applications.Runtime
Assembly: Microsoft.VisualStudio.Tools.Applications.Runtime (in Microsoft.VisualStudio.Tools.Applications.Runtime.dll)
Syntax
'Declaration
Public Sub Remove ( _
hostItemId As String _
)
'Usage
Dim instance As CachedDataHostItemCollection
Dim hostItemId As String
instance.Remove(hostItemId)
public void Remove(
string hostItemId
)
Parameters
- hostItemId
Type: System.String
A string that specifies the namespace and class name in which the source data is cached.
Remarks
The hostItemId parameter is a string that specifies the namespace and the class in the Microsoft Visual Studio Tools for the Microsoft Office system (version 3.0) solution document that contains the cached data. The namespace and class name are separated by a period (.), for example, "ExcelWorkbook1.ThisWorkbook".
Permissions
- 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.
See Also
Reference
CachedDataHostItemCollection Class