Class PvProperty
A name-value pair used to store application-specific configuration data.
Implements
Inherited Members
Namespace: eBUSDotNetReceive
Assembly: eBUSDotNetReceive.dll
Syntax
public class PvProperty : IDisposable
Constructors
View SourcePvProperty()
Declaration
public PvProperty()
PvProperty(PvProperty)
Copy constructor.
Declaration
public PvProperty(PvProperty aProperty)
Parameters
| Type | Name | Description |
|---|---|---|
| PvProperty | aProperty | The property to copy. |
PvProperty(string, string)
Creates a new property with the specified name and value.
Declaration
public PvProperty(string aName, string aValue)
Parameters
| Type | Name | Description |
|---|---|---|
| string | aName | The name of the property. |
| string | aValue | The value of the property. |
Fields
View SourceswigCMemOwn
Declaration
protected bool swigCMemOwn
Field Value
| Type | Description |
|---|---|
| bool |
Properties
View SourceName
Gets or sets the name of the property.
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Value
Gets or sets the value of the property.
Declaration
public string Value { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
View SourceAssign(PvProperty)
Copies the property from another instance.
Declaration
public PvProperty Assign(PvProperty aProperty)
Parameters
| Type | Name | Description |
|---|---|---|
| PvProperty | aProperty | The property to copy from. |
Returns
| Type | Description |
|---|---|
| PvProperty | Reference to this property. |
Dispose()
Dispose.
Declaration
public void Dispose()
Dispose(bool)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing |
~PvProperty()
Destructor.
Declaration
protected ~PvProperty()
GetValue(SWIGTYPE_p_double)
Declaration
public PvResult GetValue(SWIGTYPE_p_double aValue)
Parameters
| Type | Name | Description |
|---|---|---|
| SWIGTYPE_p_double | aValue |
Returns
| Type | Description |
|---|---|
| PvResult |
GetValue(out long)
Gets the property value as a 64-bit integer.
Declaration
public PvResult GetValue(out long aValue)
Parameters
| Type | Name | Description |
|---|---|---|
| long | aValue | Output parameter to receive the integer value. |
Returns
| Type | Description |
|---|---|
| PvResult | PV_OK on success, or an error code if the value cannot be converted. |