다음을 통해 공유


GridHeaderUtils.GetLeafMostHeaderOfType Method (List<GridHeaderItem>, ScorecardNodeTypes)

Returns the lowest leaf header of the specified type from a list of headers.

Namespace:  Microsoft.PerformancePoint.Scorecards
Assembly:  Microsoft.PerformancePoint.Scorecards.Client (in Microsoft.PerformancePoint.Scorecards.Client.dll)

Syntax

'Declaration
Public Shared Function GetLeafMostHeaderOfType ( _
    headers As List(Of GridHeaderItem), _
    headerType As ScorecardNodeTypes _
) As GridHeaderItem
'Usage
Dim headers As List(Of GridHeaderItem)
Dim headerType As ScorecardNodeTypes
Dim returnValue As GridHeaderItem

returnValue = GridHeaderUtils.GetLeafMostHeaderOfType(headers, _
    headerType)
public static GridHeaderItem GetLeafMostHeaderOfType(
    List<GridHeaderItem> headers,
    ScorecardNodeTypes headerType
)

Parameters

Return Value

Type: Microsoft.PerformancePoint.Scorecards.GridHeaderItem
The lowest leaf header of the specified type from the list, if found; otherwise, a null reference (Nothing in Visual Basic).

Exceptions

Exception Condition
NullReferenceException

Thrown when headers is null.

Remarks

The headerType parameter can be the bit-wise combination of multiple types.

See Also

Reference

GridHeaderUtils Class

GridHeaderUtils Members

GetLeafMostHeaderOfType Overload

Microsoft.PerformancePoint.Scorecards Namespace