Vertaling van "a Out-String" in Engels
We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
Puede canalizar objetos a Out-String.
El operador de canalización (|) envía el resultado de Get-Alias a Out-String, que convierte los objetos en una serie de cadenas.
The pipeline operator (|) sends the output of Get-Alias to Out-String, which converts the objects to a series of strings.
De manera predeterminada, Out-String acumula las cadenas y las devuelve en una sola cadena, aunque se puede usar el parámetro Stream para indicar a Out-String que devuelva las cadenas una por una.
By default, Out-String accumulates the strings and returns them as a single string, but you can use the stream parameter to direct Out-String to return one string at a time.
Así que ahora en nuestro método principal, aquí podríamos añadir una llamada a out-string, punto out-string es ¿Cómo se invoca un método.
El operador de canalización (|) envía el contenido a Out-String, que a su vez lo envía a la consola como una cadena.
The pipeline operator (|) sends the content to Out-String, which sends the content to the console as a string.
Andere resultaten
Out-String devuelve la cadena que crea a partir del objeto de entrada. Notas
Out-String returns the string that it creates from the input object. Notes
Así que tenemos tener el IO funcionalidad en algún lugar para llamar el out string método.
So we have to have the IO functionality somewhere in order to call the out string method.
Está bien, así que out-string es un método de la clase de IO, por lo que utilizamos I invocar ese método y luego lo podemos pasar una cadena que queremos impresas en el pantalla.
Okay so out-string is a method of the IO class so we use I to invoke that method and then we can pass it a string that we want printed out on the screen.
Si se omite el parámetro Stream, el comando mostrará todos los alias ya que Select-String encuentra "Get-Command" en la única cadena que Out-String devuelve, y el formateador mostrará la cadena como una tabla.
If you omit the Stream parameter, the command displays all of the aliases, because Select-String finds "Get-Command" in the single string that Out-String returns, and the formatter displays the string as a table.
C:\PS>get-content C:\test1\testfile2.txt | out-string Descripción - Este comando envía el contenido del archivo Testfile2.txt a la consola como una única cadena.
C:\PS>get-content C:\test1\testfile2.txt | out-string This command sends the content of the Testfile2.txt file to the console as a single string.