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.
un StringBuilder objeto
un objeto StringBuilder
You instantiate a StringBuilder object by calling one of its six overloaded class constructors, which are listed in the following table.
Crear instancias de un StringBuilder objeto llamando a uno de sus seis constructores de clase sobrecargada que se enumeran en la tabla siguiente.
You can explicitly define the initial capacity of a StringBuilder object in the following ways
Puede definir explícitamente la capacidad inicial de un StringBuilder objeto de las maneras siguientes
The following example illustrates how a StringBuilder object allocates new memory and increases its capacity dynamically as the string assigned to the object expands.
En el ejemplo siguiente se muestra cómo un StringBuilder objeto asigna memoria nueva y aumenta dinámicamente su capacidad como se expande la cadena asignada al objeto.
The code creates a StringBuilder object by calling its default (parameterless) constructor.
El código crea un StringBuilder objeto llamando a su constructor (sin parámetros) de forma predeterminada.
You can use this approach if you have only a few modifications; otherwise, the cost of working with immutable strings may negate the performance benefits of using a StringBuilder object.
Puede utilizar este enfoque si dispone de unas pocas modificaciones; de lo contrario, el costo de trabajar con cadenas inmutable puede anular las ventajas de rendimiento de usar un StringBuilder objeto.
It stores four occurrences of each letter of the English alphabet in a StringBuilder object.
Almacena cuatro instancias de cada letra del alfabeto inglés en un StringBuilder objeto.
For an illustration, see the previous example, which calls the ToString method to convert a StringBuilder object to a string so that it can be passed to a regular expression method.
Para ver una ilustración, vea el ejemplo anterior, que llama a la ToString método para convertir un StringBuilder objeto en una cadena para que se puede pasar a un método de expresión regular.
The AppendLine method appends a line terminator or a string along with a line terminator to a StringBuilder object.
El Append método anexa un terminador de línea o una cadena junto con un terminador de línea en un StringBuilder objeto.
The following example replaces the String used in the previous example to concatenate 1000 random characters in the range to 0x0001 to 0x052F with a StringBuilder object.
En el ejemplo siguiente se reemplaza el String usado en el ejemplo anterior para concatenar 1000 caracteres aleatorios en el intervalo de 0 x 0001 a 0x052F con un StringBuilder objeto.
The following example removes some of the text from a StringBuilder object, displays its resulting capacity, maximum capacity, and length property values, and then calls the Clear method to remove all the characters from the StringBuilder object.
El ejemplo siguiente quita la parte del texto de un StringBuilder objeto, muestra su capacidad resultante, capacidad máxima y valores de propiedad de longitud y, a continuación, llama el Clear método para quitar todos los caracteres desde la StringBuilder objeto. C# VB
When you have finished modifying the value of a StringBuilder object, you can call its StringBuilder.ToString method to convert it to a string.
Cuando haya terminado de modificar el valor de un StringBuilder objeto, puede llamar a su StringBuilder.ToString método para convertir en una cadena.
You can explicitly define the maximum capacity of a StringBuilder object by calling the StringBuilder(Int32, Int32) constructor.
Puede definir explícitamente la capacidad máxima de un StringBuilder objeto mediante una llamada a la StringBuilder(Int32, Int32) constructor.
You can access the characters in a StringBuilder object by using the StringBuilder.Chars property.
Puede tener acceso a los caracteres de un StringBuilder objeto usando el StringBuilder.Chars propiedad.
Potentieel gevoelige of ongepaste informatie
Er worden alleen voorbeelden gegeven om u te helpen het woord of de woordcombinatie waarop u hebt gezocht, te vertalen. Deze worden niet door ons geselecteerd of gevalideerd en kunnen ongepaste taal bevatten. Wij vragen u melding te maken van voorbeelden die dienen te worden aangepast of verwijderd. Vertalingen met grof of informeel taalgebruik worden meestal rood of oranje gemarkeerd.
Er zijn geen resultaten gevonden voor deze term.
Synoniemen voor a StringBuilder object in het Engels