The Oid type exposes the following members.

Constructors

  NameDescription
Public methodOid()()()()
Creates a default empty object identifier.
Public methodOid(array<Int32>[]()[][])
Constructor. Initialize ObjectId value to integer array
Public methodOid(String)
Constructor. Initialize objectId value from string argument.
Public methodOid(array<UInt32>[]()[][])
Constructor. Initialize ObjectId value to the unsigned integer array
Public methodOid(Oid)
Constructor. Duplicate objectId value from argument.

Methods

  NameDescription
Public methodAdd(Int32)
Add a single Int32 id to the end of the object
Public methodAdd(array<Int32>[]()[][])
Add an array of identifiers to the current object.
Public methodAdd(String)
Converts the passed string to an object identifier and appends them to the current object.
Public methodAdd(UInt32)
Add a single UInt32 id to the end of the object
Public methodAdd(array<UInt32>[]()[][])
Add UInt32 identifiers to the current object.
Public methodAdd(Oid)
Appends the passed Oid object to self.
Public methodClone
Duplicate current object.
(Overrides AsnType..::..Clone()()()().)
Public methodCompare(array<UInt32>[]()[][])
Compare Oid value with array of UInt32 integers
Public methodCompare(Oid)
Compare objectId values
Public methodCompare(array<UInt32>[]()[][], Int32)
Compare class value with the contents of the array. Compare up to dist number of Oid values to determine equality.
Public methodCompareExact(array<UInt32>[]()[][])
Exact comparison of two Oid values
Public methodCompareExact(Oid)
Exact comparison of two Oid values
Public methodCompareTo
IComparable interface implementation. Internally uses CompareExact(Oid) method to perform comparisons.
Public methoddecode
Decode BER encoded Oid value.
(Overrides AsnType..::..decode(array<Byte>[]()[][], Int32).)
Public methodencode
Encodes ASN.1 object identifier and append it to the end of the passed buffer.
(Overrides AsnType..::..encode(MutableByte).)
Protected methodencodeInstance
Encode single OID instance value
Public methodEquals
Test for equality. Returns true if 'o' is an instance of an Oid and is equal to self.
(Overrides Object..::..Equals(Object).)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberGetChildIdentifiers
Return child components of the leaf OID.
Protected methodGetData
Return internal integer array. This is required by static members of the class and other methods in this library so internal attribute is applied to it.
Public methodGetEnumerator
Returns an enumerator that iterates through the Oid integer collection
Public methodGetHashCode
Hash value for OID value
(Overrides Object..::..GetHashCode()()()().)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsRootOf
Compares the passed object identifier against self to determine if self is the root of the passed object. If the passed object is in the same root tree as self then a true value is returned. Otherwise a false value is returned from the object.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberNullOid
Return instance of Oid class set to null value {0,0}
Public methodReset
Reset class value to null
Public methodSet(array<Int32>[]()[][])
Set Oid value from integer array. If integer array is null or length == 0, internal buffer is set to null.
Public methodSet(String)
Sets the object to the passed dotted decimal object identifier string.
Public methodSet(array<UInt32>[]()[][])
Set Oid value from integer array. If integer array is null or length == 0, internal buffer is set to null.
Public methodSet(Oid)
Set class value from another Oid class.
Public methodToArray
Convert the Oid class to a integer array. Internal class data buffer is *copied* and not passed to the caller.
Public methodToString()()()()
Converts the object identifier to a dotted decimal string representation.
(Overrides Object..::..ToString()()()().)
Public methodStatic memberToString(array<Int32>[]()[][])
Return a string formatted as OID value of the passed integer array
Public methodStatic memberToString(array<Int32>[]()[][], Int32)
Return a string formatted as OID value of the passed integer array starting at array item startpos.

Operators

  NameDescription
Public operatorStatic memberAddition(Oid, Oid)
Add two Oid values and return the new class
Public operatorStatic memberAddition(Oid, String)
Add Oid class value and oid represented as a string into a new Oid class instance
Public operatorStatic memberAddition(Oid, UInt32)
Add integer id to the Oid class
Public operatorStatic memberAddition(Oid, array<UInt32>[]()[][])
Add Oid class value and oid values in the integer array into a new class instance.
Public operatorStatic memberEquality
Comparison of two Oid class values.
Public operatorStatic memberExplicitNarrowingExplicitExplicitExplicit(Oid to array<UInt32>[]()[][])
Operator allowing explicit conversion from Oid class to integer array int[]
Public operatorStatic memberGreaterThan
Greater then operator.
Public operatorStatic memberInequality
Negative comparison of two Oid class values.
Public operatorStatic memberLessThan
Less then operator.

Fields

  NameDescription
Protected field_asnType
ASN.1 type byte.
(Inherited from AsnType.)
Protected field_data
Internal buffer

Properties

  NameDescription
Public propertyIsNull
Is Oid a null value or Oid equivalent (0.0)
Public propertyItem
Access individual Oid values.
Public propertyLength
Gets the number of object identifiers in the object.
Public propertyType
Get ASN.1 value type stored in this class.
(Inherited from AsnType.)

Explicit Interface Implementations

  NameDescription
Explicit interface implemetationPrivate methodIEnumerable..::..GetEnumerator
Returns an enumerator that iterates through the Oid integer collection

See Also