編輯

共用方式為


CustomProperties.Add(String, String) Method

Definition

Returns a CustomProperty object that represents a custom property added to a smart tag.

public:
 Microsoft::Office::Interop::Word::CustomProperty ^ Add(System::String ^ Name, System::String ^ Value);
public Microsoft.Office.Interop.Word.CustomProperty Add (string Name, string Value);
abstract member Add : string * string -> Microsoft.Office.Interop.Word.CustomProperty
Public Function Add (Name As String, Value As String) As CustomProperty

Parameters

Name
String

Required String. The name of the custom smart tag property.

Value
String

Required String. The value of the custom smart tag property.

Returns

Applies to