[Serializable] |
ctor #1 | Overloaded:.ctor() Default constructor. This constructor is called by derived class constructors to initialize state in this type.Initializes a new instance of the SoapTime class. |
ctor #2 | Overloaded:.ctor(DateTime value) Initializes a new instance of the SoapTime class with a specified DateTime object. |
Value | Read-write Gets or sets the date and time of the current instance. |
XsdType | Read-only Gets the XML Schema definition language (XSD) of the current SOAP type. |
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. |
GetXsdType | Returns the XML Schema definition language (XSD) of the current SOAP type. |
Parse | Converts the specified String into a SoapTime object. |
ToString | Overridden: Returns SoapTime.Value as a String. |
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:
public SoapTime(); |
public SoapTime( |
value
public DateTime Value {get; set;}
|
public static string XsdType {get;}
|
~SoapTime(); |
public virtual int GetHashCode(); |
public Type GetType(); |
public string GetXsdType(); |
protected object MemberwiseClone(); |
value
Exception Type | Condition |
---|---|
RemotingException | value does not contain a date and time that corresponds to any of the recognized format patterns. |
Format Pattern | Description | Examples |
---|---|---|
HH | The hour within a 24-hour range. Single-digit hours have a leading zero. | 17, 07 |
mm | The minute. Single-digit minutes have a leading zero. | 49, 05 |
ss | The second. Single-digit seconds have a leading zero. | 32, 02 |
f, ff, fff, ..., ffffffffff | The fraction of a second. The number of 'f' characters in the pattern indicates the number of fraction digits. | 321635, 4592 |
zzz | The full time zone offset (hour and minutes) from the Universal Time Coordinate (Greenwich Mean Time). Single-digit hours have a leading zero. | -07:00, 08:00 |
public override string ToString(); |