CustomProperties.Add(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for