Share via


UserProperty.ValidationText Property

Returns or sets a String (string in C#) specifying the validation text for the specified user property. Read/write.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
Property ValidationText As String
    Get
    Set
'Usage
Dim instance As UserProperty
Dim value As String

value = instance.ValidationText

instance.ValidationText = value
[DispIdAttribute()]
string ValidationText { get; set; }

Property Value

Type: System.String

Remarks

The validation text is the error message that a user receives when the Value does not meet the criteria specified in ValidationFormula.

See Also

Reference

UserProperty Interface

UserProperty Members

Microsoft.Office.Interop.Outlook Namespace