ProjectHostItemCollection.RemoveProjectHostItem Method
Removes the specified host item from the project and releases resources associated with the host item.
Namespace: Microsoft.VisualStudio.Tools.Applications.DesignTime
Assembly: Microsoft.VisualStudio.Tools.Applications.DesignTime.v9.0 (in Microsoft.VisualStudio.Tools.Applications.DesignTime.v9.0.dll)
Syntax
'Declaration
Public Sub RemoveProjectHostItem ( _
projectHostItem As IVstaProjectHostItem _
)
'Usage
Dim instance As ProjectHostItemCollection
Dim projectHostItem As IVstaProjectHostItem
instance.RemoveProjectHostItem(projectHostItem)
public void RemoveProjectHostItem(
IVstaProjectHostItem projectHostItem
)
public:
void RemoveProjectHostItem(
IVstaProjectHostItem^ projectHostItem
)
public function RemoveProjectHostItem(
projectHostItem : IVstaProjectHostItem
)
Parameters
projectHostItem
Type: Microsoft.VisualStudio.Tools.Applications.DesignTime.Interop.IVstaProjectHostItemThe host item to remove.
.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.
See Also
Reference
ProjectHostItemCollection Class
ProjectHostItemCollection Members
Microsoft.VisualStudio.Tools.Applications.DesignTime Namespace