CustomProperties.Add(String, Object) 方法

定义

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

public:
 Microsoft::Office::Interop::Excel::CustomProperty ^ Add(System::String ^ Name, System::Object ^ Value);
public Microsoft.Office.Interop.Excel.CustomProperty Add (string Name, object Value);
Public Function Add (Name As String, Value As Object) As CustomProperty

参数

Name
String

必需的 字符串 。 自定义属性的名称。

Value
Object

必需的 对象。 自定义属性的值。

返回

适用于