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
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla