HostObjectCollection.Remove Method
Removes the specified HostObject from the HostObjectCollection.
Namespace: Microsoft.VisualStudio.Tools.Applications.ProgrammingModel
Assembly: Microsoft.VisualStudio.Tools.Applications.ProgrammingModel (in Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.dll)
Syntax
'Declaration
Public Sub Remove ( _
value As IVstaHostObject _
)
'Usage
Dim instance As HostObjectCollection
Dim value As IVstaHostObject
instance.Remove(value)
public void Remove(
IVstaHostObject value
)
public:
virtual void Remove(
IVstaHostObject^ value
) sealed
public final function Remove(
value : IVstaHostObject
)
Parameters
value
Type: Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.Interop.IVstaHostObjectThe HostObject to remove.
Implements
IVstaHostObjectCollection.Remove(IVstaHostObject)
.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
Microsoft.VisualStudio.Tools.Applications.ProgrammingModel Namespace