C# Class Opc.Ua.ReferenceNode

A node in the server address space.
Inheritance: IReference, IComparable, IFormattable
ファイルを表示 Open project: OPCFoundation/UA-.NETStandardLibrary Class Usage Examples

Public Methods

Method Description
CompareTo ( object obj ) : int

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

Equals ( object obj ) : bool

Determines whether the specified T:System.Object is equal to the current T:System.Object.

GetHashCode ( ) : int

Serves as a hash function for a particular type.

ReferenceNode ( Opc.Ua.NodeId referenceTypeId, bool isInverse, Opc.Ua.ExpandedNodeId targetId ) : System

Initializes the reference.

ToString ( ) : string

Returns a string representation of the HierarchyBrowsePath.

ToString ( string format, IFormatProvider provider ) : string

Returns a string representation of the HierarchyBrowsePath.

operator ( ) : bool

Returns true if the objects are equal.

Method Details

CompareTo() public method

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
/// is not the same type as this instance. ///
public CompareTo ( object obj ) : int
obj object An object to compare with this instance.
return int

Equals() public method

Determines whether the specified T:System.Object is equal to the current T:System.Object.
/// The parameter is null. ///
public Equals ( object obj ) : bool
obj object The to compare with the current .
return bool

GetHashCode() public method

Serves as a hash function for a particular type.
public GetHashCode ( ) : int
return int

ReferenceNode() public method

Initializes the reference.
public ReferenceNode ( Opc.Ua.NodeId referenceTypeId, bool isInverse, Opc.Ua.ExpandedNodeId targetId ) : System
referenceTypeId Opc.Ua.NodeId The reference type id.
isInverse bool if set to true [is inverse].
targetId Opc.Ua.ExpandedNodeId The target id.
return System

ToString() public method

Returns a string representation of the HierarchyBrowsePath.
public ToString ( ) : string
return string

ToString() public method

Returns a string representation of the HierarchyBrowsePath.
public ToString ( string format, IFormatProvider provider ) : string
format string The format.
provider IFormatProvider The provider.
return string

operator() public static method

Returns true if the objects are equal.
public static operator ( ) : bool
return bool