public class XmlConvert extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Xml.XmlConvert
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Private.Xml, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.Xml
|
static java.lang.String |
className
Qualified class name: System.Xml.XmlConvert
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
XmlConvert()
Initializes a new instance by invoking the .NET constructor.
|
XmlConvert(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static XmlConvert |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into XmlConvert, a cast assert is made to check if types are compatible. |
static java.lang.String |
DecodeName(java.lang.String name)
Invokes the .NET member DecodeName.
|
static java.lang.String |
EncodeLocalName(java.lang.String name)
Invokes the .NET member EncodeLocalName.
|
static java.lang.String |
EncodeName(java.lang.String name)
Invokes the .NET member EncodeName.
|
static java.lang.String |
EncodeNmToken(java.lang.String name)
Invokes the .NET member EncodeNmToken.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
static boolean |
IsNCNameChar(char ch)
Invokes the .NET member IsNCNameChar.
|
static boolean |
IsPublicIdChar(char ch)
Invokes the .NET member IsPublicIdChar.
|
static boolean |
IsStartNCNameChar(char ch)
Invokes the .NET member IsStartNCNameChar.
|
static boolean |
IsWhitespaceChar(char ch)
Invokes the .NET member IsWhitespaceChar.
|
static boolean |
IsXmlChar(char ch)
Invokes the .NET member IsXmlChar.
|
static boolean |
IsXmlSurrogatePair(char lowChar,
char highChar)
Invokes the .NET member IsXmlSurrogatePair.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
static boolean |
ToBoolean(java.lang.String s)
Invokes the .NET member ToBoolean.
|
static byte |
ToByte(java.lang.String s)
Invokes the .NET member ToByte.
|
static char |
ToChar(java.lang.String s)
Invokes the .NET member ToChar.
|
static DateTime |
ToDateTime(java.lang.String s)
Invokes the .NET member ToDateTime.
|
static DateTime |
ToDateTime(java.lang.String dupParam0,
JCORefOut dupParam1)
Invokes the .NET member ToDateTime.
|
static DateTime |
ToDateTime(java.lang.String s,
java.lang.String format)
Invokes the .NET member ToDateTime.
|
static DateTime |
ToDateTime(java.lang.String s,
java.lang.String[] formats)
Invokes the .NET member ToDateTime.
|
static DateTime |
ToDateTime(java.lang.String s,
XmlDateTimeSerializationMode dateTimeOption)
Invokes the .NET member ToDateTime.
|
static DateTimeOffset |
ToDateTimeOffset(java.lang.String s)
Invokes the .NET member ToDateTimeOffset.
|
static DateTimeOffset |
ToDateTimeOffset(java.lang.String dupParam0,
JCORefOut dupParam1)
Invokes the .NET member ToDateTimeOffset.
|
static DateTimeOffset |
ToDateTimeOffset(java.lang.String s,
java.lang.String format)
Invokes the .NET member ToDateTimeOffset.
|
static DateTimeOffset |
ToDateTimeOffset(java.lang.String s,
java.lang.String[] formats)
Invokes the .NET member ToDateTimeOffset.
|
static Decimal |
ToDecimal(java.lang.String s)
Invokes the .NET member ToDecimal.
|
static double |
ToDouble(java.lang.String s)
Invokes the .NET member ToDouble.
|
static Guid |
ToGuid(java.lang.String s)
Invokes the .NET member ToGuid.
|
static short |
ToInt16(java.lang.String s)
Invokes the .NET member ToInt16.
|
static int |
ToInt32(java.lang.String s)
Invokes the .NET member ToInt32.
|
static long |
ToInt64(java.lang.String s)
Invokes the .NET member ToInt64.
|
static SByte |
ToSByte(java.lang.String s)
Invokes the .NET member ToSByte.
|
static Single |
ToSingle(java.lang.String s)
Invokes the .NET member ToSingle.
|
static java.lang.String |
ToString(boolean value)
Invokes the .NET member ToString.
|
static java.lang.String |
ToString(byte value)
Invokes the .NET member ToString.
|
static java.lang.String |
ToString(char value)
Invokes the .NET member ToString.
|
static java.lang.String |
ToString(DateTime value)
Invokes the .NET member ToString.
|
static java.lang.String |
ToString(DateTimeOffset value)
Invokes the .NET member ToString.
|
static java.lang.String |
ToString(DateTimeOffset value,
java.lang.String format)
Invokes the .NET member ToString.
|
static java.lang.String |
ToString(DateTime value,
java.lang.String format)
Invokes the .NET member ToString.
|
static java.lang.String |
ToString(DateTime value,
XmlDateTimeSerializationMode dateTimeOption)
Invokes the .NET member ToString.
|
static java.lang.String |
ToString(Decimal value)
Invokes the .NET member ToString.
|
static java.lang.String |
ToString(double value)
Invokes the .NET member ToString.
|
static java.lang.String |
ToString(Guid value)
Invokes the .NET member ToString.
|
static java.lang.String |
ToString(int value)
Invokes the .NET member ToString.
|
static java.lang.String |
ToString(long value)
Invokes the .NET member ToString.
|
static java.lang.String |
ToString(SByte value)
Invokes the .NET member ToString.
|
static java.lang.String |
ToString(short value)
Invokes the .NET member ToString.
|
static java.lang.String |
ToString(Single value)
Invokes the .NET member ToString.
|
static java.lang.String |
ToString(TimeSpan value)
Invokes the .NET member ToString.
|
static java.lang.String |
ToString(UInt16 value)
Invokes the .NET member ToString.
|
static java.lang.String |
ToString(UInt32 value)
Invokes the .NET member ToString.
|
static java.lang.String |
ToString(UInt64 value)
Invokes the .NET member ToString.
|
static TimeSpan |
ToTimeSpan(java.lang.String s)
Invokes the .NET member ToTimeSpan.
|
static UInt16 |
ToUInt16(java.lang.String s)
Invokes the .NET member ToUInt16.
|
static UInt32 |
ToUInt32(java.lang.String s)
Invokes the .NET member ToUInt32.
|
static UInt64 |
ToUInt64(java.lang.String s)
Invokes the .NET member ToUInt64.
|
static java.lang.String |
VerifyName(java.lang.String name)
Invokes the .NET member VerifyName.
|
static java.lang.String |
VerifyNCName(java.lang.String name)
Invokes the .NET member VerifyNCName.
|
static java.lang.String |
VerifyNMTOKEN(java.lang.String name)
Invokes the .NET member VerifyNMTOKEN.
|
static java.lang.String |
VerifyPublicId(java.lang.String publicId)
Invokes the .NET member VerifyPublicId.
|
static java.lang.String |
VerifyTOKEN(java.lang.String token)
Invokes the .NET member VerifyTOKEN.
|
static java.lang.String |
VerifyWhitespace(java.lang.String content)
Invokes the .NET member VerifyWhitespace.
|
static java.lang.String |
VerifyXmlChars(java.lang.String content)
Invokes the .NET member VerifyXmlChars.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public XmlConvert()
throws java.lang.Throwable
java.lang.Throwable - if the .NET constructor failspublic XmlConvert(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic static XmlConvert cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into XmlConvert, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedXmlConvert instancejava.lang.Throwable - in case of error during cast operationpublic static java.lang.String DecodeName(java.lang.String name)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NullReferenceException,
NotImplementedException,
RegexMatchTimeoutException,
IndexOutOfRangeException,
FormatException,
ArgumentNullException,
ArrayTypeMismatchException,
OutOfMemoryException
name - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotImplementedException - if the .NET member raises itRegexMatchTimeoutException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itArgumentNullException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static java.lang.String EncodeLocalName(java.lang.String name)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
ArgumentNullException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
OutOfMemoryException,
OverflowException,
InvalidOperationException,
FormatException
name - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itOverflowException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itpublic static java.lang.String EncodeName(java.lang.String name)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
ArgumentNullException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
OutOfMemoryException,
OverflowException,
InvalidOperationException,
FormatException
name - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itOverflowException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itpublic static java.lang.String EncodeNmToken(java.lang.String name)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
ArgumentNullException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
OutOfMemoryException,
OverflowException,
InvalidOperationException,
FormatException
name - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itOverflowException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic static boolean IsNCNameChar(char ch)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException
ch - the argument of type charjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static boolean IsPublicIdChar(char ch)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException
ch - the argument of type charjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic static boolean IsStartNCNameChar(char ch)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException
ch - the argument of type charjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static boolean IsWhitespaceChar(char ch)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException
ch - the argument of type charjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static boolean IsXmlChar(char ch)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException
ch - the argument of type charjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static boolean IsXmlSurrogatePair(char lowChar,
char highChar)
throws java.lang.Throwable
lowChar - the argument of type charhighChar - the argument of type charjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic static boolean ToBoolean(java.lang.String s)
throws java.lang.Throwable,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArgumentNullException,
CultureNotFoundException,
FormatException
s - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itFormatException - if the .NET member raises itpublic static byte ToByte(java.lang.String s)
throws java.lang.Throwable,
OutOfMemoryException,
ArgumentNullException,
ArgumentException,
NotSupportedException,
CultureNotFoundException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
OverflowException
s - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLROutOfMemoryException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static char ToChar(java.lang.String s)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
FormatException,
IndexOutOfRangeException
s - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itFormatException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic static DateTime ToDateTime(java.lang.String s) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException, IndexOutOfRangeException, FormatException
s - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic static DateTime ToDateTime(java.lang.String dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, CultureNotFoundException, NullReferenceException, OverflowException, FormatException
dupParam0 - the argument of type java.lang.StringdupParam1 - the argument of type JCORefOutjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNullReferenceException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itpublic static DateTime ToDateTime(java.lang.String s, java.lang.String format) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, CultureNotFoundException, NullReferenceException, OverflowException, OutOfMemoryException, FormatException
s - the argument of type java.lang.Stringformat - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNullReferenceException - if the .NET member raises itOverflowException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itpublic static DateTime ToDateTime(java.lang.String s, java.lang.String[] formats) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, CultureNotFoundException, NullReferenceException, OverflowException, FormatException
s - the argument of type java.lang.Stringformats - the argument of type java.lang.String[]java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNullReferenceException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itpublic static DateTime ToDateTime(java.lang.String s, XmlDateTimeSerializationMode dateTimeOption) throws java.lang.Throwable, NotSupportedException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, FormatException, InvalidTimeZoneException, OverflowException, SecurityException
s - the argument of type java.lang.StringdateTimeOption - the argument of type XmlDateTimeSerializationModejava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itOverflowException - if the .NET member raises itSecurityException - if the .NET member raises itpublic static DateTimeOffset ToDateTimeOffset(java.lang.String s) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, InvalidTimeZoneException, OverflowException, SecurityException
s - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itOverflowException - if the .NET member raises itSecurityException - if the .NET member raises itpublic static DateTimeOffset ToDateTimeOffset(java.lang.String dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CultureNotFoundException, NullReferenceException, OverflowException, FormatException
dupParam0 - the argument of type java.lang.StringdupParam1 - the argument of type JCORefOutjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNullReferenceException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itpublic static DateTimeOffset ToDateTimeOffset(java.lang.String s, java.lang.String format) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CultureNotFoundException, NullReferenceException, OverflowException, OutOfMemoryException, FormatException
s - the argument of type java.lang.Stringformat - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNullReferenceException - if the .NET member raises itOverflowException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itpublic static DateTimeOffset ToDateTimeOffset(java.lang.String s, java.lang.String[] formats) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CultureNotFoundException, NullReferenceException, OverflowException, FormatException
s - the argument of type java.lang.Stringformats - the argument of type java.lang.String[]java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNullReferenceException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itpublic static Decimal ToDecimal(java.lang.String s) throws java.lang.Throwable, OutOfMemoryException, ArgumentNullException, ArgumentException, NotSupportedException, CultureNotFoundException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, OverflowException
s - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLROutOfMemoryException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static double ToDouble(java.lang.String s)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
OutOfMemoryException,
CultureNotFoundException,
OverflowException,
FormatException
s - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itpublic static Guid ToGuid(java.lang.String s) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OverflowException, FormatException
s - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itpublic static short ToInt16(java.lang.String s)
throws java.lang.Throwable,
OutOfMemoryException,
ArgumentNullException,
ArgumentException,
NotSupportedException,
CultureNotFoundException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
OverflowException
s - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLROutOfMemoryException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static int ToInt32(java.lang.String s)
throws java.lang.Throwable,
OutOfMemoryException,
ArgumentNullException,
ArgumentException,
NotSupportedException,
CultureNotFoundException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
OverflowException
s - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLROutOfMemoryException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static long ToInt64(java.lang.String s)
throws java.lang.Throwable,
OutOfMemoryException,
ArgumentNullException,
ArgumentException,
NotSupportedException,
CultureNotFoundException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
OverflowException
s - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLROutOfMemoryException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static SByte ToSByte(java.lang.String s) throws java.lang.Throwable, OutOfMemoryException, ArgumentNullException, ArgumentException, NotSupportedException, CultureNotFoundException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, OverflowException
s - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLROutOfMemoryException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static Single ToSingle(java.lang.String s) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, OutOfMemoryException, CultureNotFoundException, OverflowException, FormatException
s - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itpublic static java.lang.String ToString(boolean value)
throws java.lang.Throwable
value - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static java.lang.String ToString(byte value)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException,
NullReferenceException,
ArgumentOutOfRangeException,
ArgumentNullException,
ArrayTypeMismatchException
value - the argument of type bytejava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itNullReferenceException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic static java.lang.String ToString(char value)
throws java.lang.Throwable
value - the argument of type charjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static java.lang.String ToString(DateTime value) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException, OutOfMemoryException, IndexOutOfRangeException, ArgumentException, ArgumentOutOfRangeException, FormatException, InvalidOperationException, CultureNotFoundException, OverflowException
value - the argument of type DateTimejava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static java.lang.String ToString(DateTimeOffset value) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, PlatformNotSupportedException, OverflowException
value - the argument of type DateTimeOffsetjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static java.lang.String ToString(DateTimeOffset value, java.lang.String format) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, OutOfMemoryException, IndexOutOfRangeException, ArgumentNullException, FormatException, SecurityException, OverflowException, InvalidOperationException, CultureNotFoundException
value - the argument of type DateTimeOffsetformat - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itFormatException - if the .NET member raises itSecurityException - if the .NET member raises itOverflowException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic static java.lang.String ToString(DateTime value, java.lang.String format) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, OutOfMemoryException, ArgumentException, ArgumentOutOfRangeException, FormatException, InvalidOperationException, CultureNotFoundException
value - the argument of type DateTimeformat - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic static java.lang.String ToString(DateTime value, XmlDateTimeSerializationMode dateTimeOption) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, InvalidTimeZoneException, SecurityException, UnauthorizedAccessException, IOException, NullReferenceException, IndexOutOfRangeException, FormatException
value - the argument of type DateTimedateTimeOption - the argument of type XmlDateTimeSerializationModejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itSecurityException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIOException - if the .NET member raises itNullReferenceException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic static java.lang.String ToString(Decimal value) throws java.lang.Throwable, OutOfMemoryException, ArgumentNullException, ArgumentException, NotSupportedException, CultureNotFoundException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, ArrayTypeMismatchException
value - the argument of type Decimaljava.lang.Throwable - if the call fails in the bridge or in the CLROutOfMemoryException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic static java.lang.String ToString(double value)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
OutOfMemoryException,
CultureNotFoundException,
ArgumentNullException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
ArrayTypeMismatchException
value - the argument of type doublejava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic static java.lang.String ToString(Guid value) throws java.lang.Throwable
value - the argument of type Guidjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static java.lang.String ToString(int value)
throws java.lang.Throwable,
ArgumentException,
PlatformNotSupportedException,
NullReferenceException,
NotSupportedException,
FormatException,
ArgumentNullException,
ArgumentOutOfRangeException,
ArrayTypeMismatchException
value - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic static java.lang.String ToString(long value)
throws java.lang.Throwable,
ArgumentException,
PlatformNotSupportedException,
NullReferenceException,
NotSupportedException,
ArgumentOutOfRangeException,
FormatException,
ArgumentNullException,
ArrayTypeMismatchException
value - the argument of type longjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itArgumentNullException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic static java.lang.String ToString(SByte value) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, FormatException, ArgumentNullException, ArgumentOutOfRangeException, ArrayTypeMismatchException
value - the argument of type SBytejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic static java.lang.String ToString(short value)
throws java.lang.Throwable,
ArgumentException,
PlatformNotSupportedException,
NullReferenceException,
NotSupportedException,
FormatException,
ArgumentNullException,
ArgumentOutOfRangeException,
ArrayTypeMismatchException
value - the argument of type shortjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic static java.lang.String ToString(Single value) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, OutOfMemoryException, CultureNotFoundException, ArgumentNullException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, ArrayTypeMismatchException
value - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic static java.lang.String ToString(TimeSpan value) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException
value - the argument of type TimeSpanjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic static java.lang.String ToString(UInt16 value) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, NullReferenceException, ArgumentOutOfRangeException, ArgumentNullException, ArrayTypeMismatchException
value - the argument of type UInt16java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itNullReferenceException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic static java.lang.String ToString(UInt32 value) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, NullReferenceException, ArgumentOutOfRangeException, ArgumentNullException, ArrayTypeMismatchException
value - the argument of type UInt32java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itNullReferenceException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic static java.lang.String ToString(UInt64 value) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, NullReferenceException, ArgumentNullException, ArrayTypeMismatchException
value - the argument of type UInt64java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itNullReferenceException - if the .NET member raises itArgumentNullException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic static TimeSpan ToTimeSpan(java.lang.String s) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, FormatException
s - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itpublic static UInt16 ToUInt16(java.lang.String s) throws java.lang.Throwable, OutOfMemoryException, ArgumentNullException, ArgumentException, NotSupportedException, CultureNotFoundException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, OverflowException
s - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLROutOfMemoryException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static UInt32 ToUInt32(java.lang.String s) throws java.lang.Throwable, OutOfMemoryException, ArgumentNullException, ArgumentException, NotSupportedException, CultureNotFoundException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, OverflowException
s - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLROutOfMemoryException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static UInt64 ToUInt64(java.lang.String s) throws java.lang.Throwable, OutOfMemoryException, ArgumentNullException, ArgumentException, NotSupportedException, CultureNotFoundException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, OverflowException
s - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLROutOfMemoryException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static java.lang.String VerifyName(java.lang.String name)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
FormatException,
OutOfMemoryException
name - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static java.lang.String VerifyNCName(java.lang.String name)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
FormatException
name - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itpublic static java.lang.String VerifyNMTOKEN(java.lang.String name)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException
name - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic static java.lang.String VerifyPublicId(java.lang.String publicId)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
UnreachableException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException
publicId - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itUnreachableException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static java.lang.String VerifyTOKEN(java.lang.String token)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
NotSupportedException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
XmlException
token - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itXmlException - if the .NET member raises itpublic static java.lang.String VerifyWhitespace(java.lang.String content)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
UnreachableException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
XmlException
content - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itUnreachableException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itXmlException - if the .NET member raises itpublic static java.lang.String VerifyXmlChars(java.lang.String content)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
FormatException
content - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises it