GridHeaderUtils.FilterHeadersByType Method
Filters a list of headers by the specified type.
Namespace: Microsoft.PerformancePoint.Scorecards
Assembly: Microsoft.PerformancePoint.Scorecards.Client (in Microsoft.PerformancePoint.Scorecards.Client.dll)
Syntax
'Declaration
Public Shared Function FilterHeadersByType ( _
headers As List(Of GridHeaderItem), _
headerType As ScorecardNodeTypes _
) As List(Of GridHeaderItem)
'Usage
Dim headers As List(Of GridHeaderItem)
Dim headerType As ScorecardNodeTypes
Dim returnValue As List(Of GridHeaderItem)
returnValue = GridHeaderUtils.FilterHeadersByType(headers, _
headerType)
public static List<GridHeaderItem> FilterHeadersByType(
List<GridHeaderItem> headers,
ScorecardNodeTypes headerType
)
Parameters
headers
Type: System.Collections.Generic.List<GridHeaderItem>The headers to filter.
headerType
Type: Microsoft.PerformancePoint.Scorecards.ScorecardNodeTypesThe header type to filter by.
Return Value
Type: System.Collections.Generic.List<GridHeaderItem>
A filtered list of headers.
Exceptions
Exception | Condition |
---|---|
NullReferenceException | Thrown when headers is null. |
Remarks
The headerType parameter can be the bit-wise combination of multiple types.