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
'Declaración
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
- ppctx
Type: Microsoft.VisualStudio.Shell.Interop.IVsUserContext%
The IVsUserContext object representing the context of the user action.
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
- 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.