GridHeaderUtils.GridHeaderItemsToMemberCollection Method (Microsoft.PerformancePoint.Scorecards)
Converts a list of GridHeaderItems of HeaderType ScorecardNodeTypes.Member to a MemberCollection.
Namespace: Microsoft.PerformancePoint.Scorecards
Assembly: Microsoft.PerformancePoint.Scorecards.Client (in microsoft.performancepoint.scorecards.client.dll)
Syntax
'Declaration
Public Shared Function GridHeaderItemsToMemberCollection ( _
headers As List(Of GridHeaderItem) _
) As MemberCollection
'Usage
Dim headers As List(Of GridHeaderItem)
Dim returnValue As MemberCollection
returnValue = GridHeaderUtils.GridHeaderItemsToMemberCollection(headers)
public static MemberCollection GridHeaderItemsToMemberCollection (
List<GridHeaderItem> headers
)
Parameters
- headers
A list of GridHeaderItems to convert.
Return Value
A collection of the members represented by the GridHeaderItems. Otherwise, returns an empty MemberCollection.
Exceptions
Exception type | Condition |
---|---|
Thrown when gridHeaderItems is null or when the list does not have the DimensionMember set. |
Remarks
The input list should contain one or more GridHeaderItems of HeaderType ScorecardNodeTypes.Member. GridHeaderItems that are not of this type are ignored.
See Also
Reference
GridHeaderUtils Class
GridHeaderUtils Members
Microsoft.PerformancePoint.Scorecards Namespace