Partager via


IVsUserContext.RemoveAllSubcontext Method

Definition

Removes all subcontext bags associated with the context bag.

public:
 int RemoveAllSubcontext();
public:
 int RemoveAllSubcontext();
int RemoveAllSubcontext();
public int RemoveAllSubcontext ();
abstract member RemoveAllSubcontext : unit -> int
Public Function RemoveAllSubcontext () As Integer

Returns

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

Remarks

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

Applies to