IVsUserContext::RemoveAllSubcontext Method ()

 

Removes all subcontext bags associated with the context bag.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int RemoveAllSubcontext()

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Call this method on the parent context bag, not on the individual subcontext bags.

Return to top
Show: