Share via


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)

Syntax

'Declaration
Function RemoveAllSubcontext As Integer
'Usage
Dim instance As IVsUserContext 
Dim returnValue As Integer 

returnValue = instance.RemoveAllSubcontext()
int RemoveAllSubcontext()
int RemoveAllSubcontext()
function RemoveAllSubcontext() : int

Return Value

Type: System.Int32

Remarks

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

.NET Framework Security

See Also

Reference

IVsUserContext Interface

IVsUserContext Members

Microsoft.VisualStudio.Shell.Interop Namespace