CustomProperties.Add MethodÂ
Returns a CustomProperty object that represents a custom property added to a smart tag.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)
Usage
Dim Name As String
Dim Value As String
Dim returnValue As CustomProperty
Dim customProperties1 As CustomProperties
returnValue = customProperties1.Add(Name, Value)
Syntax
Function Add( _
<InAttribute()> ByVal Name As String, _
<InAttribute()> ByVal Value As String _
) As CustomProperty
CustomProperty Add(
[In] string Name,
[In] string Value
);
public: CustomProperty^ Add(
String^ Name,
String^ Value
);
public CustomProperty Add(
/*in*/System.String Name,
/*in*/System.String Value
);
function Add(
Name : String,
Value : String
) : CustomProperty;
Parameters
- Name
Required String. The name of the custom smart tag property.
- Value
Required String. The value of the custom smart tag property.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
CustomProperties Interface
Microsoft.Office.Interop.Word Namespace