Share via


GridHeaderUtils.IsHeaderAlreadyAdded method

Indicates whether the header already exists in the specified list of headers.

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

Syntax

'Declaration
Public Shared Function IsHeaderAlreadyAdded ( _
    headers As List(Of GridHeaderItem), _
    headerToCheck As GridHeaderItem, _
    ByRef addedHeader As GridHeaderItem _
) As Boolean
'Usage
Dim headers As List(Of GridHeaderItem)
Dim headerToCheck As GridHeaderItem
Dim addedHeader As GridHeaderItem
Dim returnValue As Boolean

returnValue = GridHeaderUtils.IsHeaderAlreadyAdded(headers, _
    headerToCheck, addedHeader)
public static bool IsHeaderAlreadyAdded(
    List<GridHeaderItem> headers,
    GridHeaderItem headerToCheck,
    ref GridHeaderItem addedHeader
)

Parameters

Return value

Type: System.Boolean

Remarks

This method helps to ensure that definition headers of named set expressions are added only once.

See also

Reference

GridHeaderUtils class

GridHeaderUtils members

Microsoft.PerformancePoint.Scorecards namespace