Share via


UserProperty.ValidationFormula Property

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

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

Syntax

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

value = instance.ValidationFormula

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

Property Value

Type: System.String

Remarks

The validation formula is used by Outlook to validate the Value property when an item is saved.

See Also

Reference

UserProperty Interface

UserProperty Members

Microsoft.Office.Interop.Outlook Namespace