_AutoFormatRules.Add(String) Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Erstellt ein neues AutoFormatRule -Objekt und fügt es an die AutoFormatRules Auflistung an.
public:
Microsoft::Office::Interop::Outlook::AutoFormatRule ^ Add(System::String ^ Name);
public Microsoft.Office.Interop.Outlook.AutoFormatRule Add (string Name);
Public Function Add (Name As String) As AutoFormatRule
Parameter
- Name
- String
Der Name der neuen Formatierungsregel.
Gibt zurück
Ein AutoFormatRule -Objekt, das die neue Formatierungsregel darstellt.
Hinweise
Doppelte Namen für AutoFormatRule -Objekten sind in der AutoFormatRules -Auflistung zulässig. Maximal 25 benutzerdefinierte Formatierungsregeln kann zur Auflistung hinzugefügt werden. Integrierte Formatierungsregeln werden bei dieser Einschränkung nicht gezählt.