MetaProperties 对象 (Office)MetaProperties object (Office)

代表描述文档中所存储元数据的属性的集合。Represents a collection of properties describing the metadata stored in a document.

示例Example

在以下示例中,将 MetaProperties 对象传递到验证函数。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.

Function ValidateMetaProperty(ByVal metaProps As MetaProperties) As String 
Dim result As String 
 
result = metaProps(1).Validate 
ValidateMetaProperty = result 
End Function

另请参阅See also

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.