C# Class System.Xml.XmlConvert

Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Private Properties

Свойство Type Description
CreateAllDateTimeFormats void
CreateException System.Exception
CreateException System.Exception
CreateException System.Exception
CreateException System.Exception
CreateInvalidCharException System.Exception
CreateInvalidCharException System.Exception
CreateInvalidCharException System.Exception
CreateInvalidCharException System.Exception
CreateInvalidCharException System.Exception
CreateInvalidCharException System.Exception
CreateInvalidHighSurrogateCharException System.Exception
CreateInvalidHighSurrogateCharException System.Exception
CreateInvalidHighSurrogateCharException System.Exception
CreateInvalidNameArgumentException System.ArgumentException
CreateInvalidNameCharException System.Exception
CreateInvalidSurrogatePairException System.Exception
CreateInvalidSurrogatePairException System.Exception
CreateInvalidSurrogatePairException System.Exception
DoubleToInt64Bits long
EncodeName string
EscapeValueForDebuggerDisplay string
FromBinHexString byte[]
FromBinHexString byte[]
FromHex int
IsNegativeZero bool
SplitString string[]
SplitString string[]
StrEqual bool
SwitchToLocalTime System.DateTime
SwitchToUtcTime System.DateTime
ToBinHexString string
ToDateTime System.DateTime
ToInteger Decimal
ToSByte SByte
ToString string
ToString string
ToString string
ToString string
ToString string
ToUInt16 System.UInt16
ToUInt32 System.UInt32
ToUInt64 System.UInt64
ToUri System.Uri
ToXPathDouble Double
ToXPathString String
TrimString string
TrimStringEnd string
TrimStringStart string
TryToBoolean System.Exception
TryToByte System.Exception
TryToChar System.Exception
TryToDecimal System.Exception
TryToDouble System.Exception
TryToGuid System.Exception
TryToInt16 System.Exception
TryToInt32 System.Exception
TryToInt64 System.Exception
TryToInteger System.Exception
TryToSByte System.Exception
TryToSingle System.Exception
TryToTimeSpan System.Exception
TryToUInt16 System.Exception
TryToUInt32 System.Exception
TryToUInt64 System.Exception
TryToUri System.Exception
TryVerifyNCName System.Exception
TryVerifyNMTOKEN System.Exception
TryVerifyName System.Exception
TryVerifyNormalizedString System.Exception
TryVerifyTOKEN System.Exception
VerifyCharData void
VerifyCharData void
VerifyCharData void
VerifyNCName string
VerifyNMTOKEN string
VerifyNormalizedString string
VerifyQName string
VerifyQName string
XPathRound Double

Méthodes publiques

Méthode Description
DecodeName ( string name ) : string
EncodeLocalName ( string name ) : string
EncodeName ( string name ) : string
EncodeNmToken ( string name ) : string
IsNCNameChar ( char ch ) : bool
IsNCNameSurrogatePair ( char lowChar, char highChar ) : bool
IsPublicIdChar ( char ch ) : bool
IsStartNCNameChar ( char ch ) : bool
IsStartNCNameSurrogatePair ( char lowChar, char highChar ) : bool
IsWhitespaceChar ( char ch ) : bool
IsXmlChar ( char ch ) : bool
IsXmlSurrogatePair ( char lowChar, char highChar ) : bool
ToBoolean ( string s ) : System.Boolean
ToByte ( string s ) : Byte
ToChar ( string s ) : Char
ToDateTime ( string s, XmlDateTimeSerializationMode dateTimeOption ) : System.DateTime
ToDateTime ( string s, string format ) : System.DateTime
ToDateTimeOffset ( string s ) : DateTimeOffset
ToDateTimeOffset ( string s, string format ) : DateTimeOffset
ToDecimal ( string s ) : Decimal
ToDouble ( string s ) : Double
ToGuid ( string s ) : System.Guid
ToInt16 ( string s ) : Int16
ToInt32 ( string s ) : Int32
ToInt64 ( string s ) : System.Int64
ToSingle ( string s ) : System.Single
ToString ( System.Boolean value ) : string
ToString ( Byte value ) : string
ToString ( Char value ) : string
ToString ( System.DateTime value, XmlDateTimeSerializationMode dateTimeOption ) : string
ToString ( System.DateTime value, string format ) : string
ToString ( DateTimeOffset value ) : string
ToString ( DateTimeOffset value, string format ) : string
ToString ( Decimal value ) : string
ToString ( Double value ) : string
ToString ( System.Guid value ) : string
ToString ( Int16 value ) : string
ToString ( Int32 value ) : string
ToString ( System.Int64 value ) : string
ToString ( System.Single value ) : string
ToString ( System.TimeSpan value ) : string
ToTimeSpan ( string s ) : System.TimeSpan
VerifyNCName ( string name ) : string
VerifyNMTOKEN ( string name ) : string
VerifyName ( string name ) : string
VerifyPublicId ( string publicId ) : string
VerifyTOKEN ( string token ) : string
VerifyWhitespace ( string content ) : string
VerifyXmlChars ( string content ) : string

Private Methods

Méthode Description
CreateAllDateTimeFormats ( ) : void
CreateException ( string res, ExceptionType exceptionType ) : Exception
CreateException ( string res, ExceptionType exceptionType, int lineNo, int linePos ) : Exception
CreateException ( string res, string arg, ExceptionType exceptionType ) : Exception
CreateException ( string res, string arg, ExceptionType exceptionType, int lineNo, int linePos ) : Exception
CreateInvalidCharException ( char invChar, char nextChar ) : Exception
CreateInvalidCharException ( char invChar, char nextChar, ExceptionType exceptionType ) : Exception
CreateInvalidCharException ( char data, int length, int invCharPos ) : Exception
CreateInvalidCharException ( char data, int length, int invCharPos, ExceptionType exceptionType ) : Exception
CreateInvalidCharException ( string data, int invCharPos ) : Exception
CreateInvalidCharException ( string data, int invCharPos, ExceptionType exceptionType ) : Exception
CreateInvalidHighSurrogateCharException ( char hi ) : Exception
CreateInvalidHighSurrogateCharException ( char hi, ExceptionType exceptionType ) : Exception
CreateInvalidHighSurrogateCharException ( char hi, ExceptionType exceptionType, int lineNo, int linePos ) : Exception
CreateInvalidNameArgumentException ( string name, string argumentName ) : ArgumentException
CreateInvalidNameCharException ( string name, int index, ExceptionType exceptionType ) : Exception
CreateInvalidSurrogatePairException ( char low, char hi ) : Exception
CreateInvalidSurrogatePairException ( char low, char hi, ExceptionType exceptionType ) : Exception
CreateInvalidSurrogatePairException ( char low, char hi, ExceptionType exceptionType, int lineNo, int linePos ) : Exception
DoubleToInt64Bits ( double value ) : long
EncodeName ( string name, bool first, bool local ) : string
EscapeValueForDebuggerDisplay ( string value ) : string
FromBinHexString ( string s ) : byte[]
FromBinHexString ( string s, bool allowOddCount ) : byte[]
FromHex ( char digit ) : int
IsNegativeZero ( double value ) : bool
SplitString ( string value ) : string[]
SplitString ( string value, StringSplitOptions splitStringOptions ) : string[]
StrEqual ( char chars, int strPos1, int strLen1, string str2 ) : bool
SwitchToLocalTime ( System.DateTime value ) : System.DateTime
SwitchToUtcTime ( System.DateTime value ) : System.DateTime
ToBinHexString ( byte inArray ) : string
ToDateTime ( string s ) : System.DateTime
ToInteger ( string s ) : Decimal
ToSByte ( string s ) : SByte
ToString ( System.DateTime value ) : string
ToString ( SByte value ) : string
ToString ( UInt16 value ) : string
ToString ( UInt32 value ) : string
ToString ( System.UInt64 value ) : string
ToUInt16 ( string s ) : UInt16
ToUInt32 ( string s ) : UInt32
ToUInt64 ( string s ) : System.UInt64
ToUri ( string s ) : Uri
ToXPathDouble ( Object o ) : Double
ToXPathString ( Object value ) : String
TrimString ( string value ) : string
TrimStringEnd ( string value ) : string
TrimStringStart ( string value ) : string
TryToBoolean ( string s, System.Boolean &result ) : Exception
TryToByte ( string s, Byte &result ) : Exception
TryToChar ( string s, Char &result ) : Exception
TryToDecimal ( string s, Decimal &result ) : Exception
TryToDouble ( string s, double &result ) : Exception
TryToGuid ( string s, System.Guid &result ) : Exception
TryToInt16 ( string s, Int16 &result ) : Exception
TryToInt32 ( string s, Int32 &result ) : Exception
TryToInt64 ( string s, System.Int64 &result ) : Exception
TryToInteger ( string s, Decimal &result ) : Exception
TryToSByte ( string s, SByte &result ) : Exception
TryToSingle ( string s, System.Single &result ) : Exception
TryToTimeSpan ( string s, System.TimeSpan &result ) : Exception
TryToUInt16 ( string s, UInt16 &result ) : Exception
TryToUInt32 ( string s, UInt32 &result ) : Exception
TryToUInt64 ( string s, System.UInt64 &result ) : Exception
TryToUri ( string s, Uri &result ) : Exception
TryVerifyNCName ( string name ) : Exception
TryVerifyNMTOKEN ( string name ) : Exception
TryVerifyName ( string name ) : Exception
TryVerifyNormalizedString ( string str ) : Exception
TryVerifyTOKEN ( string token ) : Exception
VerifyCharData ( char data, int offset, int len, ExceptionType exceptionType ) : void
VerifyCharData ( string data, ExceptionType exceptionType ) : void
VerifyCharData ( string data, ExceptionType invCharExceptionType, ExceptionType invSurrogateExceptionType ) : void
VerifyNCName ( string name, ExceptionType exceptionType ) : string
VerifyNMTOKEN ( string name, ExceptionType exceptionType ) : string
VerifyNormalizedString ( string str ) : string
VerifyQName ( string name ) : string
VerifyQName ( string name, ExceptionType exceptionType ) : string
XPathRound ( Double value ) : Double

Method Details

DecodeName() public static méthode

public static DecodeName ( string name ) : string
name string
Résultat string

EncodeLocalName() public static méthode

public static EncodeLocalName ( string name ) : string
name string
Résultat string

EncodeName() public static méthode

public static EncodeName ( string name ) : string
name string
Résultat string

EncodeNmToken() public static méthode

public static EncodeNmToken ( string name ) : string
name string
Résultat string

IsNCNameChar() public static méthode

public static IsNCNameChar ( char ch ) : bool
ch char
Résultat bool

IsNCNameSurrogatePair() public static méthode

public static IsNCNameSurrogatePair ( char lowChar, char highChar ) : bool
lowChar char
highChar char
Résultat bool

IsPublicIdChar() public static méthode

public static IsPublicIdChar ( char ch ) : bool
ch char
Résultat bool

IsStartNCNameChar() public static méthode

public static IsStartNCNameChar ( char ch ) : bool
ch char
Résultat bool

IsStartNCNameSurrogatePair() public static méthode

public static IsStartNCNameSurrogatePair ( char lowChar, char highChar ) : bool
lowChar char
highChar char
Résultat bool

IsWhitespaceChar() public static méthode

public static IsWhitespaceChar ( char ch ) : bool
ch char
Résultat bool

IsXmlChar() public static méthode

public static IsXmlChar ( char ch ) : bool
ch char
Résultat bool

IsXmlSurrogatePair() public static méthode

public static IsXmlSurrogatePair ( char lowChar, char highChar ) : bool
lowChar char
highChar char
Résultat bool

ToBoolean() public static méthode

public static ToBoolean ( string s ) : System.Boolean
s string
Résultat System.Boolean

ToByte() public static méthode

public static ToByte ( string s ) : Byte
s string
Résultat Byte

ToChar() public static méthode

public static ToChar ( string s ) : Char
s string
Résultat Char

ToDateTime() public static méthode

public static ToDateTime ( string s, XmlDateTimeSerializationMode dateTimeOption ) : System.DateTime
s string
dateTimeOption XmlDateTimeSerializationMode
Résultat System.DateTime

ToDateTime() public static méthode

public static ToDateTime ( string s, string format ) : System.DateTime
s string
format string
Résultat System.DateTime

ToDateTimeOffset() public static méthode

public static ToDateTimeOffset ( string s ) : DateTimeOffset
s string
Résultat DateTimeOffset

ToDateTimeOffset() public static méthode

public static ToDateTimeOffset ( string s, string format ) : DateTimeOffset
s string
format string
Résultat DateTimeOffset

ToDecimal() public static méthode

public static ToDecimal ( string s ) : Decimal
s string
Résultat Decimal

ToDouble() public static méthode

public static ToDouble ( string s ) : Double
s string
Résultat Double

ToGuid() public static méthode

public static ToGuid ( string s ) : System.Guid
s string
Résultat System.Guid

ToInt16() public static méthode

public static ToInt16 ( string s ) : Int16
s string
Résultat System.Int16

ToInt32() public static méthode

public static ToInt32 ( string s ) : Int32
s string
Résultat System.Int32

ToInt64() public static méthode

public static ToInt64 ( string s ) : System.Int64
s string
Résultat System.Int64

ToSingle() public static méthode

public static ToSingle ( string s ) : System.Single
s string
Résultat System.Single

ToString() public static méthode

public static ToString ( System.Boolean value ) : string
value System.Boolean
Résultat string

ToString() public static méthode

public static ToString ( Byte value ) : string
value Byte
Résultat string

ToString() public static méthode

public static ToString ( Char value ) : string
value Char
Résultat string

ToString() public static méthode

public static ToString ( System.DateTime value, XmlDateTimeSerializationMode dateTimeOption ) : string
value System.DateTime
dateTimeOption XmlDateTimeSerializationMode
Résultat string

ToString() public static méthode

public static ToString ( System.DateTime value, string format ) : string
value System.DateTime
format string
Résultat string

ToString() public static méthode

public static ToString ( DateTimeOffset value ) : string
value DateTimeOffset
Résultat string

ToString() public static méthode

public static ToString ( DateTimeOffset value, string format ) : string
value DateTimeOffset
format string
Résultat string

ToString() public static méthode

public static ToString ( Decimal value ) : string
value Decimal
Résultat string

ToString() public static méthode

public static ToString ( Double value ) : string
value Double
Résultat string

ToString() public static méthode

public static ToString ( System.Guid value ) : string
value System.Guid
Résultat string

ToString() public static méthode

public static ToString ( Int16 value ) : string
value System.Int16
Résultat string

ToString() public static méthode

public static ToString ( Int32 value ) : string
value System.Int32
Résultat string

ToString() public static méthode

public static ToString ( System.Int64 value ) : string
value System.Int64
Résultat string

ToString() public static méthode

public static ToString ( System.Single value ) : string
value System.Single
Résultat string

ToString() public static méthode

public static ToString ( System.TimeSpan value ) : string
value System.TimeSpan
Résultat string

ToTimeSpan() public static méthode

public static ToTimeSpan ( string s ) : System.TimeSpan
s string
Résultat System.TimeSpan

VerifyNCName() public static méthode

public static VerifyNCName ( string name ) : string
name string
Résultat string

VerifyNMTOKEN() public static méthode

public static VerifyNMTOKEN ( string name ) : string
name string
Résultat string

VerifyName() public static méthode

public static VerifyName ( string name ) : string
name string
Résultat string

VerifyPublicId() public static méthode

public static VerifyPublicId ( string publicId ) : string
publicId string
Résultat string

VerifyTOKEN() public static méthode

public static VerifyTOKEN ( string token ) : string
token string
Résultat string

VerifyWhitespace() public static méthode

public static VerifyWhitespace ( string content ) : string
content string
Résultat string

VerifyXmlChars() public static méthode

public static VerifyXmlChars ( string content ) : string
content string
Résultat string