다음을 통해 공유


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