In diesem Abschnitt wird der Beispielcode ausschnittsweise beschrieben.
In this section, the code is described a few lines at a time.
Mit dem unten gezeigten Beispielcode wird der komplette Text der aktuellen Auswahl abgerufen
The example code below retrieves the complete text of the current selection
Der folgende Beispielcode wird kompiliert und ausgeführt, da die Instanzeigenschaft von der Extender-Klasse geerbt wird.
The following code compiles and executes because the instance property is inherited by the Extender class.
Hoffentlich wird der Beispielcode im Abschnitt zur Junos-Automatisierung in der zweiten Ausgabe Programmierer/Skripter dazu anregen, ihre eigenen Lösungen zu entwickeln.
Hopefully the sample code in the Junos Automation section in the second edition will inspire coders/scripters to explore developing their own solutions.
Im folgenden Beispielcode wird der RefreshUsingXML -Methode der Name einer XML-Zeichenfolge übergeben, die die aktualisierten Daten enthält.
In the following sample code, we pass the RefreshUsingXML method the name of an XML string containing the updated data.
Der oben aufgeführte Beispielcode wird korrekt ausgeführt, wenn Sie die letzte Zeile durch folgende Zeile ersetzen
Bei dem folgenden Beispielcode wird der WCF IO Webdienst verwendet und es wird davon ausgegangen, dass er auf dem lokalen Computer installiert ist.
The following code sample uses the WCF IO Web Service and assumes that it is installed on the local machine.
Der gesamte Beispielcode wird, in die bereits erstellte, „main"-Methode der „Main"- Klasse eingefügt.
The entire sample code is inserted into the already created "main" method of the "Main" class.
Der folgende Beispielcode wird für eine Seite generiert, wenn das Framework das Ereignis event10 und die Eigenschaft prop4 nachverfolgt
The following example code is generated for a page when the framework tracks the event10 event and the prop4 property
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.