Click or drag to resize

ObjectIdentifier Class

ObjectIdentifier type.
Inheritance Hierarchy
SystemObject
  Lextm.SharpSnmpLibObjectIdentifier

Namespace: Lextm.SharpSnmpLib
Assembly: SharpSnmpLib (in SharpSnmpLib.dll) Version: 12.5.7-2+Branch.master.Sha.2a75ece2c9d55c4f731f356d1512c8a5d19fa096.2a75ece2c9d55c4f731f356d1512c8a5d19fa096
Syntax
[TypeConverterAttribute(typeof(ObjectIdentifierConverter))]
public sealed class ObjectIdentifier : ISnmpData, 
	IEquatable<ObjectIdentifier>, IComparable<ObjectIdentifier>, IComparable

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 Converts to numerical ID.
Public methodToString Returns a String that represents this ObjectIdentifier.
(Overrides ObjectToString)
Top
Operators
Extension Methods
 NameDescription
Public Extension MethodGetErrorMessage Returns error message for the specific ObjectIdentifier.
(Defined by Messenger)
Public Extension MethodToBytes Converts ISnmpData to a byte array.
(Defined by SnmpDataExtension)
Top
See Also