Task.GetUserContext(IVsUserContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new user context.
public:
virtual int GetUserContext([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsUserContext ^ % ppctx);
public:
int GetUserContext([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsUserContext ^ & ppctx);
int GetUserContext([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsUserContext const & & ppctx);
public int GetUserContext (out Microsoft.VisualStudio.Shell.Interop.IVsUserContext ppctx);
abstract member GetUserContext : IVsUserContext -> int
override this.GetUserContext : IVsUserContext -> int
Public Function GetUserContext (ByRef ppctx As IVsUserContext) As Integer
Parameters
- ppctx
- IVsUserContext
[out] The IVsUserContext that has been created.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
Remarks
This method creates an empty IVsUserContext and adds the F1 keyword.