Class XmlRpcStructureMember
Represents a structured list member.
Inheritance
Implements
Inherited Members
Namespace: Argotic.Net
Assembly: Argotic.Core.dll
Syntax
[Serializable]
public class XmlRpcStructureMember : IComparable
Constructors
| Improve this Doc View SourceXmlRpcStructureMember()
Initializes a new instance of the XmlRpcStructureMember class.
Declaration
public XmlRpcStructureMember()
XmlRpcStructureMember(String, IXmlRpcValue)
Initializes a new instance of the XmlRpcStructureMember class using the specified name and value.
Declaration
public XmlRpcStructureMember(string name, IXmlRpcValue value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of this structure member. |
IXmlRpcValue | value | An object that implements the IXmlRpcValue interface that represents the value of this structure member. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The |
System.ArgumentNullException | The |
System.ArgumentNullException | The |
Properties
| Improve this Doc View SourceName
Gets or sets the name of this structure member.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of this structure member. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The |
System.ArgumentNullException | The |
Value
Gets or sets the value of this structure member.
Declaration
public IXmlRpcValue Value { get; set; }
Property Value
Type | Description |
---|---|
IXmlRpcValue | An object that implements the IXmlRpcValue interface that represents the value of this structure member. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The |
Methods
| Improve this Doc View SourceCompareTo(Object)
Compares the current instance with another object of the same type.
Declaration
public int CompareTo(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | An object to compare with this instance. |
Returns
Type | Description |
---|---|
System.Int32 | A 32-bit signed integer that indicates the relative order of the objects being compared. |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | The |
Equals(Object)
Determines whether the specified System.Object is equal to the current instance.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The System.Object to compare with the current instance. |
Returns
Type | Description |
---|---|
System.Boolean | true if the specified System.Object is equal to the current instance; otherwise, false. |
Overrides
GetHashCode()
Returns a hash code for the current instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | A 32-bit signed integer hash code. |
Overrides
Load(XPathNavigator)
Loads this XmlRpcStructureMember using the supplied System.Xml.XPath.XPathNavigator.
Declaration
public bool Load(XPathNavigator source)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XPath.XPathNavigator | source | The System.Xml.XPath.XPathNavigator to extract information from. |
Returns
Type | Description |
---|---|
System.Boolean | true if the XmlRpcStructureMember was initialized using the supplied |
Remarks
This method expects the supplied source
to be positioned on the XML element that represents a XmlRpcStructureMember.
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The |
ToString()
Returns a System.String that represents the current XmlRpcStructureMember.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A System.String that represents the current XmlRpcStructureMember. |
Overrides
Remarks
This method returns the XML representation for the current instance.
WriteTo(XmlWriter)
Saves the current XmlRpcStructureMember to the specified System.Xml.XmlWriter.
Declaration
public void WriteTo(XmlWriter writer)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlWriter | writer | The System.Xml.XmlWriter to which you want to save. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The |
Operators
| Improve this Doc View SourceEquality(XmlRpcStructureMember, XmlRpcStructureMember)
Determines if operands are equal.
Declaration
public static bool operator ==(XmlRpcStructureMember first, XmlRpcStructureMember second)
Parameters
Type | Name | Description |
---|---|---|
XmlRpcStructureMember | first | Operand to be compared. |
XmlRpcStructureMember | second | Operand to compare to. |
Returns
Type | Description |
---|---|
System.Boolean | true if the values of its operands are equal, otherwise; false. |
GreaterThan(XmlRpcStructureMember, XmlRpcStructureMember)
Determines if first operand is greater than second operand.
Declaration
public static bool operator>(XmlRpcStructureMember first, XmlRpcStructureMember second)
Parameters
Type | Name | Description |
---|---|---|
XmlRpcStructureMember | first | Operand to be compared. |
XmlRpcStructureMember | second | Operand to compare to. |
Returns
Type | Description |
---|---|
System.Boolean | true if the first operand is greater than the second, otherwise; false. |
Inequality(XmlRpcStructureMember, XmlRpcStructureMember)
Determines if operands are not equal.
Declaration
public static bool operator !=(XmlRpcStructureMember first, XmlRpcStructureMember second)
Parameters
Type | Name | Description |
---|---|---|
XmlRpcStructureMember | first | Operand to be compared. |
XmlRpcStructureMember | second | Operand to compare to. |
Returns
Type | Description |
---|---|
System.Boolean | false if its operands are equal, otherwise; true. |
LessThan(XmlRpcStructureMember, XmlRpcStructureMember)
Determines if first operand is less than second operand.
Declaration
public static bool operator <(XmlRpcStructureMember first, XmlRpcStructureMember second)
Parameters
Type | Name | Description |
---|---|---|
XmlRpcStructureMember | first | Operand to be compared. |
XmlRpcStructureMember | second | Operand to compare to. |
Returns
Type | Description |
---|---|
System.Boolean | true if the first operand is less than the second, otherwise; false. |