Partager via


ValidationSummaryItem.ToString Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

The string representation of this ValidationSummaryItem.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.Data.Input (in System.Windows.Controls.Data.Input.dll)

Syntax

'Declaration
Public Overrides Function ToString As String
public override string ToString()

Return Value

Type: System.String
The string representation of this ValidationSummaryItem.

Remarks

The string representation of a ValidationSummaryItem is the MessageHeader and Message properties separated by a semi-colon. This is the value displayed in the ValidationSummary control.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.