Class IOValueExtensions
Inheritance
System.Object
IOValueExtensions
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.IO
Assembly: XBeeLibrary.Core.dll
Syntax
public static class IOValueExtensions
Methods
GetID(IOValue)
Gets the ID of the IO value.
Declaration
public static int GetID(this IOValue source)
Parameters
Type | Name | Description |
---|---|---|
IOValue | source |
Returns
Type | Description |
---|---|
System.Int32 | The ID of the IO value |
GetIOValue(IOValue, Int32)
Gets the IOValue associated with the given valueID
.
Declaration
public static IOValue GetIOValue(this IOValue source, int valueID)
Parameters
Type | Name | Description |
---|---|---|
IOValue | source | |
System.Int32 | valueID | The ID corresponding to the IOValue to retrieve. |
Returns
Type | Description |
---|---|
IOValue | The IOValue associated with the given |
GetName(IOValue)
Gets the name of the IO value.
Declaration
public static string GetName(this IOValue source)
Parameters
Type | Name | Description |
---|---|---|
IOValue | source |
Returns
Type | Description |
---|---|
System.String | The name of the IO value. |