IVsProvideUserContext2.GetUserContextEx Method
Gets a user context and priority for an object.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function GetUserContextEx ( _
<OutAttribute> ByRef ppctx As IVsUserContext, _
<OutAttribute> ByRef iPriority As Integer _
) As Integer
int GetUserContextEx(
out IVsUserContext ppctx,
out int iPriority
)
int GetUserContextEx(
[OutAttribute] IVsUserContext^% ppctx,
[OutAttribute] int% iPriority
)
abstract GetUserContextEx :
ppctx:IVsUserContext byref *
iPriority:int byref -> int
function GetUserContextEx(
ppctx : IVsUserContext,
iPriority : int
) : int
Parameters
- ppctx
Type: Microsoft.VisualStudio.Shell.Interop.IVsUserContext%
[out] Pointer to the IVsUserContext interface.
- iPriority
Type: System.Int32%
[out] Integer. The priority.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.