XBee C# library API reference

Show / Hide Table of Contents

Class HardwareVersionEnumExtensions

Inheritance
System.Object
HardwareVersionEnumExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: XBeeLibrary.Core.Models
Assembly: XBeeLibrary.Core.dll
Syntax
public static class HardwareVersionEnumExtensions

Methods

Get(HardwareVersionEnum, Int32)

Gets the HardwareVersionEnum associated to the given numeric value.

Declaration
public static HardwareVersionEnum Get(this HardwareVersionEnum source, int value)
Parameters
Type Name Description
HardwareVersionEnum source
System.Int32 value

Numeric value of the HardwareVersionEnum to retrieve.

Returns
Type Description
HardwareVersionEnum

The HardwareVersionEnum associated to the given numeric value.

GetDescription(HardwareVersionEnum)

Gets the hardware version description.

Declaration
public static string GetDescription(this HardwareVersionEnum source)
Parameters
Type Name Description
HardwareVersionEnum source
Returns
Type Description
System.String

The hardware version description.

GetValue(HardwareVersionEnum)

Gets the Hardware version numeric value.

Declaration
public static int GetValue(this HardwareVersionEnum source)
Parameters
Type Name Description
HardwareVersionEnum source
Returns
Type Description
System.Int32

The hardware version numeric value.

ToDisplayString(HardwareVersionEnum)

Returns the HardwareVersionEnum in string format.

Declaration
public static string ToDisplayString(this HardwareVersionEnum source)
Parameters
Type Name Description
HardwareVersionEnum source
Returns
Type Description
System.String

The HardwareVersionEnum in string format.

Product page More documentation Official site About Digi Contact us Support
©2019 Digi International Inc. All rights reserved.
Digi International Inc.