语言

CustomProperties 接口

定义

表示其他信息的 对象的集合 CustomProperty 。 该信息可用作 XML 的元数据。

public interface class CustomProperties : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("00024452-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface CustomProperties : System.Collections.IEnumerable
Public Interface CustomProperties
Implements IEnumerable
属性
实现

注解

Properties使用 对象的 属性SmartTag或 CustomProperties 对象的 属性Worksheet可返回 CustomProperties 集合。

返回 CustomProperties 集合后,可根据选择向工作表和智能标记中添加元数据。

若要向工作表添加元数据,请将 属性与 方法一 CustomProperties 起使用 Add(String, Object) 。

若要向智能标记添加元数据,请将 属性与 Add 方法一起使用Properties。

属性

名称 说明
_Default[Object]

仅供内部使用。

Application

返回一个 Application 对象,该对象表示Microsoft Excel 应用程序。

Count

返回集合中对象的数目。

Creator

返回一个 32 位整数,该整数指示在其中创建了此对象的应用程序。

Item[Object]

从集合中返回一个对象。

Parent

返回指定对象的父对象。

方法

名称 说明
Add(String, Object)

添加自定义属性信息。 返回 对象 CustomProperty 。

GetEnumerator()

表示其他信息的 对象的集合 CustomProperty 。 该信息可用作 XML 的元数据。

适用于