AutoTextEntries.Add(String, Range) 方法

定义

将自动图文集条目添加到可用自动图文集条目列表中。

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

参数

Name
String

键入 Name 时将插入的文本范围。

Range
Range

在键入时启用"自动图文集"词条的文本。

返回

适用于