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
Function ValidateMetaProperty(ByVal metaProps As MetaProperties) As String Dim result As String result = metaProps(1).Validate ValidateMetaProperty = result End Function 

See also: