IVsProvideUserContext2::GetUserContextEx Method (IVsUserContext^, Int32)

 

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)

int GetUserContextEx(
	[OutAttribute] IVsUserContext^% ppctx,
	[OutAttribute] int% iPriority
)

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.

Return to top
Show: