Table of contents
Collapse the table of content
Expand the table of content

MetaProperties.Validate Method (Office)

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Validates all of the properties in a MetaProperties collection object according to a schema.


expression. Validate

expression An expression that returns a MetaProperties object.

Return Value



If any of the properties is invalid, the test fails and an error message is returned. The schema used for validation is stored as part of the document's Microsoft SharePoint Foundation profile.


In the following example, a MetaProperties object is passed to a validation function. The function then validates all of the properties of the object and returns the result.

Function ValidateMetaProperties(ByVal metaProps As MetaProperties) As String 
Dim result As String 

result = metaProps.Validate 
ValidateMetaProperties = result 
End Function

See also


MetaProperties Object

Other resources

MetaProperties Object Members

© 2018 Microsoft