Partager via


IVsProvideUserContext2.GetUserContextEx(IVsUserContext, Int32) Method

Definition

Gets a user context and priority for an object.

public:
 int GetUserContextEx([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsUserContext ^ % ppctx, [Runtime::InteropServices::Out] int % iPriority);
int GetUserContextEx([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsUserContext const & & ppctx, [Runtime::InteropServices::Out] int & iPriority);
public int GetUserContextEx (out Microsoft.VisualStudio.Shell.Interop.IVsUserContext ppctx, out int iPriority);
abstract member GetUserContextEx : IVsUserContext * int -> int
Public Function GetUserContextEx (ByRef ppctx As IVsUserContext, ByRef iPriority As Integer) As Integer

Parameters

ppctx
IVsUserContext

[out] Pointer to the IVsUserContext interface.

iPriority
Int32

[out] Integer. The priority.

Returns

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

Applies to