ASN.1 TimeTicks value representation. Value is stored as an unsigned
32-bit integer and stores the number of 1/100s of a second periods of uptime.
Namespace:
SnmpSharpNetAssembly: SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.5.0.0 (0.5.0.0)
Syntax
| C# | Visual Basic | Visual C++ |
public class TimeTicks : UInteger32
Public Class TimeTicks _ Inherits UInteger32
public ref class TimeTicks : public UInteger32
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| TimeTicks()()() | Constructs the default counter object.
The initial value is defined
by the super class default constructor
| |
| TimeTicks(TimeTicks) |
Constructs a new object with the same value
as the passed object.
| |
| TimeTicks(UInteger32) | Constructs a new object with the value
contained in the UInteger32 object.
| |
| TimeTicks(String) |
Constructor. Parse unsigned 32-bit integer from the argument string.
| |
| TimeTicks(UInt32) |
Constructor. Initialize the TimeTicks class to unsigned integer value supplied.
| |
| Clone()()() |
Creates a new object that is a duplicate of the
current object.
(Overrides UInteger32..::.Clone()()().) | |
| CompareTo(UInteger32) |
Compare implementation that will compare this class value with the value of another UInteger32 class.
(Inherited from UInteger32.) | |
| CompareTo(UInt32) |
Compare implementation that will compare this class value with argument UInt32 value.
(Inherited from UInteger32.) | |
| decode(array<Byte>[]()[], Int32) | Used to decode the integer value from the ASN.1 buffer.
The passed encoder is used to decode the ASN.1 information
and the integer value is stored in the internal object.
(Inherited from UInteger32.) | |
| encode(MutableByte) | Used to encode the integer value into an ASN.1 buffer.
The passed encoder defines the method for encoding the
data.
(Inherited from UInteger32.) | |
| Equals(Object) |
Compare class value against the object argument. Supported argument types are
UInteger32 and Int32.
(Inherited from UInteger32.) | |
| Explicit(TimeTicks) |
Operator to allow explicit conversion of TimeTicks class to a TimeSpan class.
| |
| GetHashCode()()() |
Return hash code for the class.
(Overrides UInteger32..::.GetHashCode()()().) | |
| GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| Miliseconds |
Get TimeTicks value as milliseconds value.
| |
| Set(AsnType) |
SET class value from another UInteger32 or Integer32 class cast as .
(Inherited from UInteger32.) | |
| Set(String) |
Parse an UInteger32 value from a string.
(Inherited from UInteger32.) | |
| ToString()()() |
Returns the string representation of the object.
(Overrides UInteger32..::.ToString()()().) | |
| Type |
Return ASN.1 type of the object stored in this or derived class.
(Inherited from AsnType.) | |
| Value |
Value of the object. Returns 32 bit unsigned integer
(Inherited from UInteger32.) |