[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 SoapYear class. |
ctor #2 | Overloaded:.ctor(DateTime value) Initializes a new instance of the SoapYear class with a specified DateTime object. |
ctor #3 | Overloaded:.ctor(DateTime value, int sign) Initializes a new instance of the SoapYear class with a specified DateTime object and an integer indicating whether SoapYear.Value is a positive or negative value. |
Sign | Read-write Gets or sets whether the date and time of the current instance is positive or negative. |
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 SoapYear object. |
ToString | Overridden: Returns SoapYear.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 SoapYear(); |
public SoapYear( |
value
value
sign
public int Sign {get; set;}
|
public DateTime Value {get; set;}
|
public static string XsdType {get;}
|
~SoapYear(); |
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 |
---|---|---|
yyyy | The year in four digit format. | 1999, 1812 |
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(); |