ITeamExplorerPageExtensions.GetService<T> Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Get the requested service.

Namespace:  Microsoft.TeamFoundation.Controls
Assembly:  Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)

public static T GetService<T>(
	this ITeamExplorerPage page
)

Type Parameters

T

Service type

Return Value

Type: T
Returns ITeamExplorerSection.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ITeamExplorerPage. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Show: