Click or drag to resize

ObjectIdentifier Class

ObjectIdentifier type.
Inheritance Hierarchy
SystemObject
  GSF.Net.SnmpObjectIdentifier

Namespace: GSF.Net.Snmp
Assembly: GSF.Net (in GSF.Net.dll) Version: 2.4.218-beta
Syntax
[TypeConverterAttribute(typeof(ObjectIdentifierConverter))]
[DataContractAttribute]
public sealed class ObjectIdentifier : ISnmpData, 
	IEquatable<ObjectIdentifier>, IComparable<ObjectIdentifier>, IComparable
View Source

The ObjectIdentifier type exposes the following members.

Constructors
 NameDescription
Public methodObjectIdentifier(String) Creates an ObjectIdentifier instance from textual ID.
Public methodObjectIdentifier(UInt32) Creates an ObjectIdentifier instance from numerical ID.
Public methodObjectIdentifier(TupleInt32, Byte, Stream) Initializes a new instance of the ObjectIdentifier class.
Top
Properties
 NameDescription
Public propertyTypeCode Type code.
Top
Methods
 NameDescription
Public methodAppendBytesTo Appends the bytes to Stream.
Public methodStatic memberAppendTo Appends an extra number to the array.
Public methodCompare Compares the current object with another object of the same type.
Public methodCompareTo(Object) 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.
Public methodCompareTo(ObjectIdentifier) Compares the current object with another object of the same type.
Public methodStatic memberConvert(String) Converts dotted String to unsigned integer array.
Public methodStatic memberConvert(UInt32) Converts unsigned integer array to dotted String.
Public methodStatic memberCreate Creates a new ObjectIdentifier instance.
Public methodEquals(Object) Determines whether the specified Object is equal to the current ObjectIdentifier.
(Overrides ObjectEquals(Object))
Public methodEquals(ObjectIdentifier) Indicates whether the current object is equal to another object of the same type.
Public methodGetHashCode Serves as a hash function for a particular type.
(Overrides ObjectGetHashCode)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToNumerical Convers to numerical ID.
Public methodToString Returns a String that represents this ObjectIdentifier.
(Overrides ObjectToString)
Top
Operators
 NameDescription
Public operatorStatic memberEquality(ObjectIdentifier, ObjectIdentifier) The equality operator.
Public operatorStatic memberGreaterThan(ObjectIdentifier, ObjectIdentifier) Implements the operator >.
Public operatorStatic memberInequality(ObjectIdentifier, ObjectIdentifier) The inequality operator.
Public operatorStatic memberLessThan(ObjectIdentifier, ObjectIdentifier) Implements the operator <.
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetErrorMessage Returns error message for the specific ObjectIdentifier.
(Defined by Messenger)
Public Extension MethodToBytes Converts to byte format.
(Defined by SnmpDataExtension)
Top
See Also