GridHeaderUtils.GetLeafMostHeaderOfType Method (GridHeaderItem, ScorecardNodeTypes)
Returns the leaf-most header of the specified type in a header tree.
Namespace: Microsoft.PerformancePoint.Scorecards
Assembly: Microsoft.PerformancePoint.Scorecards.Client (in Microsoft.PerformancePoint.Scorecards.Client.dll)
Syntax
'Declaration
Public Shared Function GetLeafMostHeaderOfType ( _
header As GridHeaderItem, _
type As ScorecardNodeTypes _
) As GridHeaderItem
'Usage
Dim header As GridHeaderItem
Dim type As ScorecardNodeTypes
Dim returnValue As GridHeaderItem
returnValue = GridHeaderUtils.GetLeafMostHeaderOfType(header, _
type)
public static GridHeaderItem GetLeafMostHeaderOfType(
GridHeaderItem header,
ScorecardNodeTypes type
)
Parameters
header
Type: Microsoft.PerformancePoint.Scorecards.GridHeaderItemThe root header of the tree.
type
Type: Microsoft.PerformancePoint.Scorecards.ScorecardNodeTypesThe header type or types to retrieve.
Return Value
Type: Microsoft.PerformancePoint.Scorecards.GridHeaderItem
The leaf-most header of the specified type in a tree, if found; otherwise, a null reference (Nothing in Visual Basic).