Share via


GridDisplayElement.CreateErrorTextElement Method

Creates a text element with the specified error text and sets the cell status to InError.

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

Syntax

'Declaration
Public Shared Function CreateErrorTextElement ( _
    errorText As String _
) As GridDisplayElementText
'Usage
Dim errorText As String
Dim returnValue As GridDisplayElementText

returnValue = GridDisplayElement.CreateErrorTextElement(errorText)
public static GridDisplayElementText CreateErrorTextElement(
    string errorText
)

Parameters

  • errorText
    Type: System.String

    The display text to use when data cannot be retrieved for a cell.

Return Value

Type: Microsoft.PerformancePoint.Scorecards.GridDisplayElementText
A text element with the specified error text.

See Also

Reference

GridDisplayElement Class

GridDisplayElement Members

Microsoft.PerformancePoint.Scorecards Namespace