SmartTags.Add(String, Object, Object) Method

Definition

Gets a SmartTag object that represents a new smart tag added to a document.

public Microsoft.Office.Interop.Word.SmartTag Add (string Name, ref object Range, ref object Properties);
abstract member Add : string * obj * obj -> Microsoft.Office.Interop.Word.SmartTag
Public Function Add (Name As String, Optional ByRef Range As Object, Optional ByRef Properties As Object) As SmartTag

Parameters

Name
String

Required String. The name of the smart tag.

Range
Object

Optional Object. The range to which to apply the smart tag.

Properties
Object

Optional Object. Properties that apply to the smart tag.

Returns

Applies to