Task::GetUserContext Method (IVsUserContext^)

 

Creates a new user context.

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

public:
virtual int GetUserContext(
	[OutAttribute] IVsUserContext^% ppctx
) sealed

Parameters

ppctx
Type: Microsoft.VisualStudio.Shell.Interop::IVsUserContext^

[out] The IVsUserContext that has been created.

Return Value

Type: System::Int32

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

This method creates an empty IVsUserContext and adds the F1 keyword.

Return to top
Show: