XmlConvert.ToString Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Converteert sterk getypte gegevens naar een equivalente String weergave.
Overloads
| Name | Description |
|---|---|
| ToString(Single) | |
| ToString(TimeSpan) | |
| ToString(UInt16) | |
| ToString(UInt32) | |
| ToString(DateTimeOffset, String) |
Converteert de opgegeven DateTimeOffset indeling naar een String in de opgegeven indeling. |
| ToString(DateTime, String) | |
| ToString(DateTime, XmlDateTimeSerializationMode) |
Converteert de DateTime naar een String met behulp van de XmlDateTimeSerializationMode opgegeven waarde. |
| ToString(SByte) | |
| ToString(UInt64) | |
| ToString(Int64) | |
| ToString(Boolean) | |
| ToString(Int16) | |
| ToString(Guid) | |
| ToString(Double) | |
| ToString(Decimal) | |
| ToString(DateTimeOffset) |
Converteert de opgegeven DateTimeOffset naar een String. |
| ToString(DateTime) |
Verouderd.
Verouderd.
|
| ToString(Char) | |
| ToString(Byte) | |
| ToString(Int32) |
ToString(Single)
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
public:
static System::String ^ ToString(float value);
public static string ToString(float value);
static member ToString : single -> string
Public Shared Function ToString (value As Single) As String
Parameters
- value
- Single
De waarde die moet worden geconverteerd.
Retouren
Een tekenreeksweergave van de Single.
Opmerkingen
Als value Single.PositiveInfinity of Single.NegativeInfinity is, retourneert deze methode respectievelijk de tekenreeks INF of -INF.
Zie ook
Van toepassing op
ToString(TimeSpan)
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
public:
static System::String ^ ToString(TimeSpan value);
public static string ToString(TimeSpan value);
static member ToString : TimeSpan -> string
Public Shared Function ToString (value As TimeSpan) As String
Parameters
- value
- TimeSpan
De waarde die moet worden geconverteerd.
Retouren
Een tekenreeksweergave van de TimeSpan.
Van toepassing op
ToString(UInt16)
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
Belangrijk
Deze API is niet CLS-conform.
public:
static System::String ^ ToString(System::UInt16 value);
[System.CLSCompliant(false)]
public static string ToString(ushort value);
[<System.CLSCompliant(false)>]
static member ToString : uint16 -> string
Public Shared Function ToString (value As UShort) As String
Parameters
- value
- UInt16
De waarde die moet worden geconverteerd.
Retouren
Een tekenreeksweergave van de UInt16.
- Kenmerken
Van toepassing op
ToString(UInt32)
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
Belangrijk
Deze API is niet CLS-conform.
public:
static System::String ^ ToString(System::UInt32 value);
[System.CLSCompliant(false)]
public static string ToString(uint value);
[<System.CLSCompliant(false)>]
static member ToString : uint32 -> string
Public Shared Function ToString (value As UInteger) As String
Parameters
- value
- UInt32
De waarde die moet worden geconverteerd.
Retouren
Een tekenreeksweergave van de UInt32.
- Kenmerken
Van toepassing op
ToString(DateTimeOffset, String)
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
Converteert de opgegeven DateTimeOffset indeling naar een String in de opgegeven indeling.
public:
static System::String ^ ToString(DateTimeOffset value, System::String ^ format);
public static string ToString(DateTimeOffset value, string format);
static member ToString : DateTimeOffset * string -> string
Public Shared Function ToString (value As DateTimeOffset, format As String) As String
Parameters
- value
- DateTimeOffset
De DateTimeOffset te converteren.
- format
- String
De indeling waarnaar value wordt geconverteerd. De indelingsparameter kan elke subset van de W3C-aanbeveling zijn voor het type XML-datum/tijd. (Zie de sectie dateTime van de specificatie van het XML-schema voor meer informatie.)
Retouren
Een String weergave in de opgegeven indeling van de opgegeven DateTimeOffset.
Voorbeelden
In het volgende voorbeeld wordt een DateTimeOffset weergave van de huidige tijd geconverteerd naar een String in de opgegeven indeling.
using System;
using System.Xml;
class Example
{
static void Main()
{
// Create the DateTimeOffset object and set the time to the current time.
DateTimeOffset dto;
dto = DateTimeOffset.Now;
// Convert the DateTimeObject to a string in a specified format and display the result.
// The specified format must be a subset of the W3C Recommendation for the XML dateTime type.
String timeAsString = XmlConvert.ToString(dto, "yyyy-MM-ddTHH:mm:sszzzzzzz");
Console.WriteLine(timeAsString);
}
}
Imports System.Xml
Module Module1
Sub Main()
' Create the DateTimeOffset object and set the time to the current time.
Dim dto As DateTimeOffset
dto = DateTimeOffset.Now
' Convert the DateTimeObject to a string in a specified format and display the result.
' The specified format must be a subset of the W3C Recommendation for the XML dateTime type.
Dim timeAsString As [String] = XmlConvert.ToString(dto, "yyyy-MM-ddTHH:mm:sszzzzzzz")
Console.WriteLine(timeAsString)
End Sub
End Module
Van toepassing op
ToString(DateTime, String)
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
public:
static System::String ^ ToString(DateTime value, System::String ^ format);
public static string ToString(DateTime value, string format);
static member ToString : DateTime * string -> string
Public Shared Function ToString (value As DateTime, format As String) As String
Parameters
- value
- DateTime
De waarde die moet worden geconverteerd.
- format
- String
De indelingsstructuur waarmee wordt gedefinieerd hoe de geconverteerde tekenreeks moet worden weergegeven. Geldige notaties zijn "jjjj-MM-ddTHH:mm:sszzzzzz" en de bijbehorende subsets.
Retouren
Een tekenreeksweergave van de DateTime in de opgegeven indeling.
Voorbeelden
In het volgende voorbeeld worden gegevenstypen geconverteerd naar een tekenreeks en worden de gegevens vervolgens naar de console geschreven.
using System;
using System.IO;
using System.Xml;
public class Sample
{
public static void Main()
{
//Define the order data. They will be converted to string
//before being written out.
Int16 custID = 32632;
String orderID = "367A54";
DateTime orderDate = new DateTime();
orderDate = DateTime.Now;
Double price = 19.95;
//Create a writer that outputs to the console.
XmlTextWriter writer = new XmlTextWriter (Console.Out);
writer.Formatting = Formatting.Indented;
//Write an element (this one is the root)
writer.WriteStartElement("order");
//Write the order date.
writer.WriteAttributeString("date", XmlConvert.ToString(orderDate, "yyyy-MM-dd"));
//Write the order time.
writer.WriteAttributeString("time", XmlConvert.ToString(orderDate, "HH:mm:ss"));
//Write the order data.
writer.WriteElementString("orderID", orderID);
writer.WriteElementString("custID", XmlConvert.ToString(custID));
writer.WriteElementString("price", XmlConvert.ToString(price));
//Write the close tag for the root element
writer.WriteEndElement();
//Write the XML and close the writer
writer.Close();
}
}
Imports System.IO
Imports System.Xml
public class Sample
public shared sub Main()
'Define the order data. They will be converted to string
'before being written out.
Dim custID as Int16 = 32632
Dim orderID as String = "367A54"
Dim orderDate as DateTime
orderDate = DateTime.Now
Dim price as Double = 19.95
'Create a writer that outputs to the console.
Dim writer as XmlTextWriter = new XmlTextWriter (Console.Out)
'Use indenting for readability
writer.Formatting = Formatting.Indented
'Write an element (this one is the root)
writer.WriteStartElement("order")
'Write the order date.
writer.WriteAttributeString("date", XmlConvert.ToString(orderDate, "yyyy-MM-dd"))
'Write the order time.
writer.WriteAttributeString("time", XmlConvert.ToString(orderDate, "HH:mm:ss"))
'Write the order data.
writer.WriteElementString("orderID", orderID)
writer.WriteElementString("custID", XmlConvert.ToString(custID))
writer.WriteElementString("price", XmlConvert.ToString(price))
'Write the close tag for the root element
writer.WriteEndElement()
'Write the XML and close the writer
writer.Flush()
writer.Close()
end sub
end class
Van toepassing op
ToString(DateTime, XmlDateTimeSerializationMode)
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
Converteert de DateTime naar een String met behulp van de XmlDateTimeSerializationMode opgegeven waarde.
public:
static System::String ^ ToString(DateTime value, System::Xml::XmlDateTimeSerializationMode dateTimeOption);
public static string ToString(DateTime value, System.Xml.XmlDateTimeSerializationMode dateTimeOption);
static member ToString : DateTime * System.Xml.XmlDateTimeSerializationMode -> string
Public Shared Function ToString (value As DateTime, dateTimeOption As XmlDateTimeSerializationMode) As String
Parameters
- dateTimeOption
- XmlDateTimeSerializationMode
Een van de XmlDateTimeSerializationMode waarden die aangeven hoe de DateTime waarde moet worden behandeld.
Retouren
Een String equivalent van de DateTime.
Uitzonderingen
De dateTimeOption waarde is ongeldig.
De value waarde of dateTimeOption de waarde is null.
Van toepassing op
ToString(SByte)
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
Belangrijk
Deze API is niet CLS-conform.
public:
static System::String ^ ToString(System::SByte value);
[System.CLSCompliant(false)]
public static string ToString(sbyte value);
[<System.CLSCompliant(false)>]
static member ToString : sbyte -> string
Public Shared Function ToString (value As SByte) As String
Parameters
- value
- SByte
De waarde die moet worden geconverteerd.
Retouren
Een tekenreeksweergave van de SByte.
- Kenmerken
Van toepassing op
ToString(UInt64)
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
Belangrijk
Deze API is niet CLS-conform.
public:
static System::String ^ ToString(System::UInt64 value);
[System.CLSCompliant(false)]
public static string ToString(ulong value);
[<System.CLSCompliant(false)>]
static member ToString : uint64 -> string
Public Shared Function ToString (value As ULong) As String
Parameters
- value
- UInt64
De waarde die moet worden geconverteerd.
Retouren
Een tekenreeksweergave van de UInt64.
- Kenmerken
Van toepassing op
ToString(Int64)
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
public:
static System::String ^ ToString(long value);
public static string ToString(long value);
static member ToString : int64 -> string
Public Shared Function ToString (value As Long) As String
Parameters
- value
- Int64
De waarde die moet worden geconverteerd.
Retouren
Een tekenreeksweergave van de Int64.
Van toepassing op
ToString(Boolean)
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
public:
static System::String ^ ToString(bool value);
public static string ToString(bool value);
static member ToString : bool -> string
Public Shared Function ToString (value As Boolean) As String
Parameters
- value
- Boolean
De waarde die moet worden geconverteerd.
Retouren
Een tekenreeksweergave van de Boolean, dat wil bijvoorbeeld 'true' of 'false'.
Van toepassing op
ToString(Int16)
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
public:
static System::String ^ ToString(short value);
public static string ToString(short value);
static member ToString : int16 -> string
Public Shared Function ToString (value As Short) As String
Parameters
- value
- Int16
De waarde die moet worden geconverteerd.
Retouren
Een tekenreeksweergave van de Int16.
Voorbeelden
In het volgende voorbeeld worden gegevenstypen geconverteerd naar een tekenreeks en worden de gegevens vervolgens naar de console geschreven.
using System;
using System.IO;
using System.Xml;
public class Sample
{
public static void Main()
{
//Define the order data. They will be converted to string
//before being written out.
Int16 custID = 32632;
String orderID = "367A54";
DateTime orderDate = new DateTime();
orderDate = DateTime.Now;
Double price = 19.95;
//Create a writer that outputs to the console.
XmlTextWriter writer = new XmlTextWriter (Console.Out);
writer.Formatting = Formatting.Indented;
//Write an element (this one is the root)
writer.WriteStartElement("order");
//Write the order date.
writer.WriteAttributeString("date", XmlConvert.ToString(orderDate, "yyyy-MM-dd"));
//Write the order time.
writer.WriteAttributeString("time", XmlConvert.ToString(orderDate, "HH:mm:ss"));
//Write the order data.
writer.WriteElementString("orderID", orderID);
writer.WriteElementString("custID", XmlConvert.ToString(custID));
writer.WriteElementString("price", XmlConvert.ToString(price));
//Write the close tag for the root element
writer.WriteEndElement();
//Write the XML and close the writer
writer.Close();
}
}
Imports System.IO
Imports System.Xml
public class Sample
public shared sub Main()
'Define the order data. They will be converted to string
'before being written out.
Dim custID as Int16 = 32632
Dim orderID as String = "367A54"
Dim orderDate as DateTime
orderDate = DateTime.Now
Dim price as Double = 19.95
'Create a writer that outputs to the console.
Dim writer as XmlTextWriter = new XmlTextWriter (Console.Out)
'Use indenting for readability
writer.Formatting = Formatting.Indented
'Write an element (this one is the root)
writer.WriteStartElement("order")
'Write the order date.
writer.WriteAttributeString("date", XmlConvert.ToString(orderDate, "yyyy-MM-dd"))
'Write the order time.
writer.WriteAttributeString("time", XmlConvert.ToString(orderDate, "HH:mm:ss"))
'Write the order data.
writer.WriteElementString("orderID", orderID)
writer.WriteElementString("custID", XmlConvert.ToString(custID))
writer.WriteElementString("price", XmlConvert.ToString(price))
'Write the close tag for the root element
writer.WriteEndElement()
'Write the XML and close the writer
writer.Flush()
writer.Close()
end sub
end class
Van toepassing op
ToString(Guid)
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
public:
static System::String ^ ToString(Guid value);
public static string ToString(Guid value);
static member ToString : Guid -> string
Public Shared Function ToString (value As Guid) As String
Parameters
- value
- Guid
De waarde die moet worden geconverteerd.
Retouren
Een tekenreeksweergave van de Guid.
Van toepassing op
ToString(Double)
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
public:
static System::String ^ ToString(double value);
public static string ToString(double value);
static member ToString : double -> string
Public Shared Function ToString (value As Double) As String
Parameters
- value
- Double
De waarde die moet worden geconverteerd.
Retouren
Een tekenreeksweergave van de Double.
Voorbeelden
In het volgende voorbeeld worden gegevenstypen geconverteerd naar een tekenreeks en worden de gegevens vervolgens naar de console geschreven.
using System;
using System.IO;
using System.Xml;
public class Sample
{
public static void Main()
{
//Define the order data. They will be converted to string
//before being written out.
Int16 custID = 32632;
String orderID = "367A54";
DateTime orderDate = new DateTime();
orderDate = DateTime.Now;
Double price = 19.95;
//Create a writer that outputs to the console.
XmlTextWriter writer = new XmlTextWriter (Console.Out);
writer.Formatting = Formatting.Indented;
//Write an element (this one is the root)
writer.WriteStartElement("order");
//Write the order date.
writer.WriteAttributeString("date", XmlConvert.ToString(orderDate, "yyyy-MM-dd"));
//Write the order time.
writer.WriteAttributeString("time", XmlConvert.ToString(orderDate, "HH:mm:ss"));
//Write the order data.
writer.WriteElementString("orderID", orderID);
writer.WriteElementString("custID", XmlConvert.ToString(custID));
writer.WriteElementString("price", XmlConvert.ToString(price));
//Write the close tag for the root element
writer.WriteEndElement();
//Write the XML and close the writer
writer.Close();
}
}
Imports System.IO
Imports System.Xml
public class Sample
public shared sub Main()
'Define the order data. They will be converted to string
'before being written out.
Dim custID as Int16 = 32632
Dim orderID as String = "367A54"
Dim orderDate as DateTime
orderDate = DateTime.Now
Dim price as Double = 19.95
'Create a writer that outputs to the console.
Dim writer as XmlTextWriter = new XmlTextWriter (Console.Out)
'Use indenting for readability
writer.Formatting = Formatting.Indented
'Write an element (this one is the root)
writer.WriteStartElement("order")
'Write the order date.
writer.WriteAttributeString("date", XmlConvert.ToString(orderDate, "yyyy-MM-dd"))
'Write the order time.
writer.WriteAttributeString("time", XmlConvert.ToString(orderDate, "HH:mm:ss"))
'Write the order data.
writer.WriteElementString("orderID", orderID)
writer.WriteElementString("custID", XmlConvert.ToString(custID))
writer.WriteElementString("price", XmlConvert.ToString(price))
'Write the close tag for the root element
writer.WriteEndElement()
'Write the XML and close the writer
writer.Flush()
writer.Close()
end sub
end class
Opmerkingen
Als value Double.PositiveInfinity of Double.NegativeInfinity is, retourneert deze methode respectievelijk de tekenreeks INF of -INF.
Zie ook
Van toepassing op
ToString(Decimal)
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
public:
static System::String ^ ToString(System::Decimal value);
public static string ToString(decimal value);
static member ToString : decimal -> string
Public Shared Function ToString (value As Decimal) As String
Parameters
- value
- Decimal
De waarde die moet worden geconverteerd.
Retouren
Een tekenreeksweergave van de Decimal.
Van toepassing op
ToString(DateTimeOffset)
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
Converteert de opgegeven DateTimeOffset naar een String.
public:
static System::String ^ ToString(DateTimeOffset value);
public static string ToString(DateTimeOffset value);
static member ToString : DateTimeOffset -> string
Public Shared Function ToString (value As DateTimeOffset) As String
Parameters
- value
- DateTimeOffset
De DateTimeOffset te converteren.
Retouren
Een String weergave van de opgegeven DateTimeOffset.
Voorbeelden
In het volgende voorbeeld wordt een DateTimeOffset weergave van de huidige tijd geconverteerd naar een String.
using System;
using System.Xml;
class Example
{
static void Main()
{
// Create the DateTimeOffset object and set the time to the current time
DateTimeOffset dto;
dto = DateTimeOffset.Now;
// Convert the DateTimeOffset object to a string and display the result
string timeAsString = XmlConvert.ToString(dto);
Console.WriteLine(timeAsString);
}
}
Imports System.Xml
Module Module1
Sub Main()
' Create the DateTimeOffset object and set the time to the current time
Dim dto As DateTimeOffset
dto = DateTimeOffset.Now
' Convert the DateTimeOffset object to a string and display the result
Dim timeAsString As String = XmlConvert.ToString(dto)
Console.WriteLine(timeAsString)
End Sub
End Module
Van toepassing op
ToString(DateTime)
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
Let op
Use XmlConvert.ToString() that accepts an XmlDateTimeSerializationMode instead.
Let op
Use XmlConvert.ToString() that takes in XmlDateTimeSerializationMode
public:
static System::String ^ ToString(DateTime value);
[System.Obsolete("Use XmlConvert.ToString() that accepts an XmlDateTimeSerializationMode instead.")]
public static string ToString(DateTime value);
[System.Obsolete("Use XmlConvert.ToString() that takes in XmlDateTimeSerializationMode")]
public static string ToString(DateTime value);
public static string ToString(DateTime value);
[<System.Obsolete("Use XmlConvert.ToString() that accepts an XmlDateTimeSerializationMode instead.")>]
static member ToString : DateTime -> string
[<System.Obsolete("Use XmlConvert.ToString() that takes in XmlDateTimeSerializationMode")>]
static member ToString : DateTime -> string
static member ToString : DateTime -> string
Public Shared Function ToString (value As DateTime) As String
Parameters
- value
- DateTime
De waarde die moet worden geconverteerd.
Retouren
Een tekenreeksweergave van de DateTime notatie jjjj-MM-ddTHH:mm:ss waarbij 'T' een constante letterlijke waarde is.
- Kenmerken
Opmerkingen
Note
De methode XmlConvert.ToString(DateTime) is verouderd in de 2.0-versie van het .NET Framework en is vervangen door de methode XmlConvert.ToString(DateTime, XmlDateTimeSerializationMode).
De voorgestelde modus is RoundtripKind. Als er een exacte overeenkomst wordt verwacht, gebruikt XmlConvert.ToString(DateTime, String) u deze met de notatietekenreeks yyyy-MM-ddTHH:mm:ss.fffffffzzzzzz.
Van toepassing op
ToString(Char)
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
public:
static System::String ^ ToString(char value);
public static string ToString(char value);
static member ToString : char -> string
Public Shared Function ToString (value As Char) As String
Parameters
- value
- Char
De waarde die moet worden geconverteerd.
Retouren
Een tekenreeksweergave van de Char.
Van toepassing op
ToString(Byte)
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
public:
static System::String ^ ToString(System::Byte value);
public static string ToString(byte value);
static member ToString : byte -> string
Public Shared Function ToString (value As Byte) As String
Parameters
- value
- Byte
De waarde die moet worden geconverteerd.
Retouren
Een tekenreeksweergave van de Byte.
Van toepassing op
ToString(Int32)
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
- Bron:
- XmlConvert.cs
public:
static System::String ^ ToString(int value);
public static string ToString(int value);
static member ToString : int -> string
Public Shared Function ToString (value As Integer) As String
Parameters
- value
- Int32
De waarde die moet worden geconverteerd.
Retouren
Een tekenreeksweergave van de Int32.