IVsUserContext::GetPriority Method (Int32)

 

Determines the priority of an attribute or keyword in the context or subcontext bag.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int GetPriority(
	[OutAttribute] int% lPriority
)

Parameters

lPriority
Type: System::Int32

[out] Priority of the attribute or keyword. For a list of lPriority values, see VSUSERCONTEXTPRIORITY.

Return Value

Type: System::Int32

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

From context.idl:

HRESULT IVsUserContext::GetPriority(
   [out, retval] int *lPriority
);

This method returns an integer value that corresponds to the priority of the context item. Compare this value with the string values of the VSUSERCONTEXTPRIORITY enumeration.

Return to top
Show: