System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDuration Class

Assembly: Mscorlib.dll
Namespace: System.Runtime.Remoting.Metadata.W3cXsd2001
Summary
Wraps an XML duration type.
C# Syntax:
public sealed class SoapDuration
See also:
System.Runtime.Remoting.Metadata.W3cXsd2001 Namespace

System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDuration Member List:

Public Constructors
ctor #1 Default constructor. This constructor is called by derived class constructors to initialize state in this type.
Public Properties
XsdType Read-only

Gets the XML Schema definition language (XSD) of the current SOAP type.
Public Methods
Equals
(inherited from System.Object)
See base class member description: System.Object.Equals

Derived from System.Object, the primary base class for all objects.
GetHashCode
(inherited from System.Object)
See base class member description: System.Object.GetHashCode

Derived from System.Object, the primary base class for all objects.
GetType
(inherited from System.Object)
See base class member description: System.Object.GetType

Derived from System.Object, the primary base class for all objects.
Parse Converts the specified String into a TimeSpan object.
ToString
(inherited from System.Object)
Overloaded:
ToString()

See base class member description: System.Object.ToString

Derived from System.Object, the primary base class for all objects.
ToString Overloaded:
ToString(TimeSpan timeSpan)

Returns the specified TimeSpan object as a String.
Protected Methods
Finalize
(inherited from System.Object)
See base class member description: System.Object.Finalize

Derived from System.Object, the primary base class for all objects.
MemberwiseClone
(inherited from System.Object)
See base class member description: System.Object.MemberwiseClone

Derived from System.Object, the primary base class for all objects.

Hierarchy:


System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDuration Member Details

ctor #1
Summary:
Default constructor. This constructor is called by derived class constructors to initialize state in this type.
C# Syntax:
public SoapDuration();

Return to top


Property: XsdType (read-only)
Summary
Gets the XML Schema definition language (XSD) of the current SOAP type.
C# Syntax:
public static string XsdType {get;}

Return to top


Method: Equals(
   object obj
)
Inherited
See base class member description: System.Object.Equals
C# Syntax:
public virtual bool Equals(
   object obj
);

For more information on members inherited from System.Object click on the link above.

Return to top


Method: Finalize()
Inherited
See base class member description: System.Object.Finalize
C# Syntax:
~SoapDuration();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: GetHashCode()
Inherited
See base class member description: System.Object.GetHashCode
C# Syntax:
public virtual int GetHashCode();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: GetType()
Inherited
See base class member description: System.Object.GetType
C# Syntax:
public Type GetType();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: MemberwiseClone()
Inherited
See base class member description: System.Object.MemberwiseClone
C# Syntax:
protected object MemberwiseClone();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: Parse(
   string value
)
Summary
Converts the specified String into a TimeSpan object.
C# Syntax:
public static TimeSpan Parse(
   string value
);
Parameters:

value

The String to convert.

Return Value:
A TimeSpan object obtained from value.
Exceptions
Exception Type Condition
RemotingException value does not contain a date and time that corresponds to any of the recognized format patterns.

Return to top


Overloaded Method: ToString()
Inherited
See base class member description: System.Object.ToString
C# Syntax:
public virtual string ToString();

For more information on members inherited from System.Object click on the link above.

Return to top


Overloaded Method: ToString(
   TimeSpan timeSpan
)
Summary
Returns the specified TimeSpan object as a String.
C# Syntax:
public static string ToString(
   TimeSpan timeSpan
);
Parameters:

timeSpan

The TimeSpan object to convert.

Return Value:
A String representation of timeSpan in the format "PxxYxxDTxxHxxMxx.xxxS" or "PxxYxxDTxxHxxMxxS". The "PxxYxxDTxxHxxMxx.xxxS" is used if TimeSpan.Milliseconds does not equal zero.

Return to top


Top of page

Copyright (c) 2002 Microsoft Corporation. All rights reserved.