MetaProperty.Validate Method
Validates a MetaProperty object representing a single property value according to a schema.
Syntax
expression.Validate
expression An expression that returns a MetaProperty object.
Return Value
String
Remarks
If the property is invalid, the test fails and an error message is returned. The schema used for validation is stored as part the document's Windows SharePoint Services profile.
Example
In the following example, a MetaProperties object is passed to a validation function. The function then validates the value of a single property represented by its index and returns the result.
| Visual Basic for Applications |
|---|
|