CachedDataHostItemCollection.Remove Method (String)
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
Assembly: Microsoft.VisualStudio.Tools.Applications.ServerDocument (in Microsoft.VisualStudio.Tools.Applications.ServerDocument.dll)
Syntax
'Declaration
Public Sub Remove ( _
hostItemId As String _
)
public void Remove(
string hostItemId
)
Parameters
hostItemId
Type: System.StringThe 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 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.