Struct StructureCodeInfo
Represents structure code information.
Inherited Members
Namespace: VMS.TPS.Common.Model.Types
Assembly: VMS.TPS.Common.Model.Types.dll
Syntax
public struct StructureCodeInfo : IXmlSerializable, IEquatable<StructureCodeInfo>
Constructors
StructureCodeInfo(String, String)
Constructs a StructureCodeInfo.
Declaration
public StructureCodeInfo(string codingScheme, string code)
Parameters
Type | Name | Description |
---|---|---|
System.String | codingScheme | The coding scheme of the structure code. |
System.String | code | The structure code as defined in the associated coding scheme. |
Properties
Code
The structure code as defined in the associated coding scheme.
Declaration
public string Code { get; }
Property Value
Type | Description |
---|---|
System.String |
CodingScheme
The coding scheme of the structure code.
Declaration
public string CodingScheme { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Equals(Object)
Checks if this object is equal to another object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The other object to compare. |
Returns
Type | Description |
---|---|
System.Boolean | True if this object equals to the other object. Otherwise false. |
Overrides
Equals(StructureCodeInfo)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(StructureCodeInfo other)
Parameters
Type | Name | Description |
---|---|---|
StructureCodeInfo | other | An object to compare with this object. |
Returns
Type | Description |
---|---|
System.Boolean | True if the current object is equal to the other object. Otherwise, false. |
GetHashCode()
Returns the hash code for this instance. Overrides Object.GetHashCode.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | The hash code for this instance. |
Overrides
GetSchema()
This member is internal to the Eclipse Scripting API.
Declaration
public XmlSchema GetSchema()
Returns
Type | Description |
---|---|
System.Xml.Schema.XmlSchema | XmlSchema. |
ReadXml(XmlReader)
This member is internal to the Eclipse Scripting API.
Declaration
public void ReadXml(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | The XmlReader stream from which the object is deserialized. |
ToString()
A string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A string that represents the current object. |
Overrides
WriteXml(XmlWriter)
Serialization support.
Declaration
public void WriteXml(XmlWriter writer)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlWriter | writer | The System.Xml.XmlWriter stream to which the object is serialized. |
Operators
Equality(StructureCodeInfo, StructureCodeInfo)
Equality operator for StructureCodeInfo.
Declaration
public static bool operator ==(StructureCodeInfo left, StructureCodeInfo right)
Parameters
Type | Name | Description |
---|---|---|
StructureCodeInfo | left | The first object to compare. |
StructureCodeInfo | right | The second object to compare. |
Returns
Type | Description |
---|---|
System.Boolean | True if left is equal to right. Otherwise false. |
Inequality(StructureCodeInfo, StructureCodeInfo)
Inequality operator for StructureCodeInfo.
Declaration
public static bool operator !=(StructureCodeInfo left, StructureCodeInfo right)
Parameters
Type | Name | Description |
---|---|---|
StructureCodeInfo | left | The first object to compare. |
StructureCodeInfo | right | The second object to compare. |
Returns
Type | Description |
---|---|
System.Boolean | True if left is not equal to right. Otherwise false. |