BasicHelper.GetProjectContext Method
Returns a project context for the current selection. Returns nulla null reference (Nothing in Visual Basic) in case of failure.
Namespace: Microsoft.TeamFoundation.Common
Assembly: Microsoft.VisualStudio.TeamFoundation.Client (in Microsoft.VisualStudio.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Function GetProjectContext As ProjectContext
'Usage
Dim instance As BasicHelper
Dim returnValue As ProjectContext
returnValue = instance.GetProjectContext()
public ProjectContext GetProjectContext()
public:
ProjectContext^ GetProjectContext()
public function GetProjectContext() : ProjectContext
Return Value
Type: ProjectContext
.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.