Partager via


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

  • iPriority
    Type: Int32%

    [out] Integer. The priority.

Return Value

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

.NET Framework Security

See Also

Reference

IVsProvideUserContext2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace