The following code sample in Visual Basic for Applications shows how to use the StorageItem object to store private solution data.
Im folgenden Codebeispiel für Visual Basic für Applikationen wird die Verwendung des StorageItem -Objekts zum Speichern privater Lösungsdaten gezeigt.
For example, this code shows the Options page of a form in Outlook Visual Basic for Applications or VBScript
Mit diesem Code wird beispielsweise in Outlook Visual Basic für Applikationen oder VBScript die Seite Options (Optionen) eines Formulars angezeigt
For example, the following Visual Basic code defines and applies a filter to show only customers from the USA
Beispielsweise definiert der folgende Visual Basic-Code einen Filter, durch den nur Kunden in den USA angezeigt werden, und wendet ihn an
It also shows a live view of errors, warnings, and code analysis across your entire C# or Visual Basic solution as you type, even when a code change produces thousands of warnings.
References forms. Use to show forms and pages. For example, this code shows the Options page of a form in Outlook Visual Basic for Applications or VBScript
Verweist auf Formulare. Wird zum Anzeigen von Formularen und Seiten verwendet. Mit diesem Code wird beispielsweise in Outlook Visual Basic für Applikationen oder VBScript die Seite Options (Optionen) eines Formulars angezeigt
Sample projects and code snippets for Visual Basic, Visual C++, and Visual C
The following code sample in Visual Basic for Applications shows how to clean up any existing StorageItem object that has the specified subject, create a new instance with the same subject, assign a value to a custom property, and save the the new instance.
Im folgenden Codebeispiel für Visual Basic für Applikationen wird gezeigt, wie ein vorhandenes StorageItem -Objekt mit dem angegebenen Betreff bereinigt wird, eine neue Instanz mit dem gleichen Betreff erstellt wird, einer benutzerdefinierten Eigenschaft ein Wert zugewiesen wird und die neue Instanz gespeichert wird.
For example, the following Visual Basic for Applications (VBA) code defines and applies a filter to show only customers from the USA
Mit dem folgenden VBA-Code (Visual Basic for Applications) wird z. B. ein Filter definiert und angewendet, um nur Kunden aus den USA anzuzeigen
Contenu potentiellement sensible ou inapproprié
Les exemples vous aident à traduire le mot ou l’expression cherchés dans des contextes variés. Ils ne sont ni sélectionnés ni validés par nous et peuvent contenir des mots ou des idées inappropriés. Signalez des exemples à modifier ou à retirer. Les traductions potentiellement sensibles, inappropriées ou familières sont généralement marquées de rouge ou d’orange.