Bagikan melalui


BaseNodeProperties.GetUserContext Method

Gets the user context of an action.

Namespace:  Microsoft.TeamFoundation.Common
Assembly:  Microsoft.VisualStudio.TeamFoundation.Client (in Microsoft.VisualStudio.TeamFoundation.Client.dll)

Syntax

'Declaration
Public Function GetUserContext ( _
    <OutAttribute> ByRef ppctx As IVsUserContext _
) As Integer
public int GetUserContext(
    out IVsUserContext ppctx
)
public:
virtual int GetUserContext(
    [OutAttribute] IVsUserContext^% ppctx
) sealed
abstract GetUserContext : 
        ppctx:IVsUserContext byref -> int 
override GetUserContext : 
        ppctx:IVsUserContext byref -> int 
public final function GetUserContext(
    ppctx : IVsUserContext
) : int

Parameters

Return Value

Type: System.Int32
An integer representing the result of the operation. Also returns the context object out through ppctx.

Implements

IVsProvideUserContext.GetUserContext(IVsUserContext%)

Remarks

This method is called by the help window to get the specific help documentation for the selected node in Team Explorer.

.NET Framework Security

See Also

Reference

BaseNodeProperties Class

Microsoft.TeamFoundation.Common Namespace