| Visual Basic (Declaration) | |
|---|---|
<CategoryAttribute("Behavior")> <DescriptionAttribute("The message that is displayed when ErrorBehavior is ShowAlert.")> <DefaultValueAttribute()> Public Property ErrorMessage As String | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As LiveCheckBoxList Dim value As String instance.ErrorMessage = value value = instance.ErrorMessage | |
| C# | |
|---|---|
[CategoryAttribute("Behavior")] [DescriptionAttribute("The message that is displayed when ErrorBehavior is ShowAlert.")] [DefaultValueAttribute()] public string ErrorMessage {get; set;} | |
| C++/CLI | |
|---|---|
[CategoryAttribute("Behavior")] [DescriptionAttribute("The message that is displayed when ErrorBehavior is ShowAlert.")] [DefaultValueAttribute()] public: property String^ ErrorMessage { String^ get(); void set ( String^ value); } | |
Property Value
A message to display when an error occurs.Set ErrorMessage to specify the contents of the Alert. Alternatively, set ErrorBehavior to ErrorBehavior.ShowInBrowser to see specific error information.
Target Platforms: Microsoft .NET Framework 2.0
Copy Code