元元对象 (Office)MetaProperty object (Office)

代表某属性集合中的单个属性,这些属性描述了文档中存储的元数据。Represents a single property in 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.