Share via


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.String

    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 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

Remove Overload

Microsoft.VisualStudio.Tools.Applications Namespace