ITeamExplorerPageExtensions.GetSection Method

Get the section for this page with the specified ID.

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function GetSection ( _
    page As ITeamExplorerPage, _
    sectionId As Guid _
) As ITeamExplorerSection
public static ITeamExplorerSection GetSection(
    this ITeamExplorerPage page,
    Guid sectionId
)
[ExtensionAttribute]
public:
static ITeamExplorerSection^ GetSection(
    ITeamExplorerPage^ page, 
    Guid sectionId
)
static member GetSection : 
        page:ITeamExplorerPage * 
        sectionId:Guid -> ITeamExplorerSection
public static function GetSection(
    page : ITeamExplorerPage, 
    sectionId : Guid
) : ITeamExplorerSection

Parameters

Return Value

Type: Microsoft.TeamFoundation.Controls.ITeamExplorerSection
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).

.NET Framework Security

See Also

Reference

ITeamExplorerPageExtensions Class

Microsoft.TeamFoundation.Controls Namespace