ITeamExplorerSectionExtensions.GetId Method
Get the ID for this section.
Namespace: Microsoft.TeamFoundation.Controls
Assembly: Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function GetId ( _
section As ITeamExplorerSection _
) As Guid
public static Guid GetId(
this ITeamExplorerSection section
)
[ExtensionAttribute]
public:
static Guid GetId(
ITeamExplorerSection^ section
)
static member GetId :
section:ITeamExplorerSection -> Guid
public static function GetId(
section : ITeamExplorerSection
) : Guid
Parameters
- section
Type: Microsoft.TeamFoundation.Controls.ITeamExplorerSection
Return Value
Type: System.Guid
Returns Guid.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type ITeamExplorerSection. 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
- 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.