Selection.CreateAutoTextEntry(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.
Adds a new AutoTextEntry object to the AutoTextEntries collection, based on the current selection.
public:
Microsoft::Office::Interop::Word::AutoTextEntry ^ CreateAutoTextEntry(System::String ^ Name, System::String ^ StyleName);
public Microsoft.Office.Interop.Word.AutoTextEntry CreateAutoTextEntry (string Name, string StyleName);
abstract member CreateAutoTextEntry : string * string -> Microsoft.Office.Interop.Word.AutoTextEntry
Public Function CreateAutoTextEntry (Name As String, StyleName As String) As AutoTextEntry
Parameters
- Name
- String
Required String. The text the user must type to call the new AutoText entry.
- StyleName
- String
Required String. The category in which the new AutoText entry will be listed on the AutoText menu.
Returns
Applies to
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin