IVstaProjectHostItemCollection.RemoveProjectHostItem Method
Removes the specified host item from the project and releases resources associated with the host item.
Namespace: Microsoft.VisualStudio.Tools.Applications.DesignTime.Interop
Assembly: Microsoft.VisualStudio.Tools.Applications.DesignTime.v9.0 (in Microsoft.VisualStudio.Tools.Applications.DesignTime.v9.0.dll)
Syntax
'Declaration
Sub RemoveProjectHostItem ( _
projectHostItem As IVstaProjectHostItem _
)
'Usage
Dim instance As IVstaProjectHostItemCollection
Dim projectHostItem As IVstaProjectHostItem
instance.RemoveProjectHostItem(projectHostItem)
void RemoveProjectHostItem(
IVstaProjectHostItem projectHostItem
)
void RemoveProjectHostItem(
IVstaProjectHostItem^ projectHostItem
)
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
IVstaProjectHostItemCollection Interface
IVstaProjectHostItemCollection Members
Microsoft.VisualStudio.Tools.Applications.DesignTime.Interop Namespace