編輯

共用方式為


CustomProperties.Add(String, Object) Method

Definition

Adds custom property information. Returns a CustomProperty object.

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

Parameters

Name
String

Required String. The name of the custom property.

Value
Object

Required Object. The value of the custom property.

Returns

Applies to