Class PvPropertyList
A collection of PvProperty objects used to store application-specific configuration data.
Implements
Inherited Members
Namespace: eBUSDotNetReceive
Assembly: eBUSDotNetReceive.dll
Syntax
public class PvPropertyList : IDisposable
Constructors
View SourcePvPropertyList()
Declaration
public PvPropertyList()
Fields
View SourceswigCMemOwn
Declaration
protected bool swigCMemOwn
Field Value
| Type | Description |
|---|---|
| bool |
Properties
View Sourcethis[uint]
Gets the property at the specified index.
Declaration
public virtual PvProperty this[uint aIndex] { get; set; }
Parameters
| Type | Name | Description |
|---|---|---|
| uint | aIndex | Zero-based index of the property to retrieve. |
Property Value
| Type | Description |
|---|---|
| PvProperty |
PvSize
Gets the number of properties in the list.
Declaration
public uint PvSize { get; }
Property Value
| Type | Description |
|---|---|
| uint |
Methods
View SourceAdd(PvProperty)
Adds a property to the list.
Declaration
public void Add(PvProperty aString)
Parameters
| Type | Name | Description |
|---|---|---|
| PvProperty | aString | The property to add. |
Clear()
Removes all properties from the list.
Declaration
public void Clear()
Dispose()
Dispose.
Declaration
public void Dispose()
Dispose(bool)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing |
~PvPropertyList()
Destructor.
Declaration
protected ~PvPropertyList()
GetFirst()
Gets the first property in the list and resets the iterator.
Declaration
public PvProperty GetFirst()
Returns
| Type | Description |
|---|---|
| PvProperty | Pointer to the first property, or null if the list is empty. |
GetItem(uint)
Gets the property at the specified index.
Declaration
public PvProperty GetItem(uint aIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | aIndex | Zero-based index of the property to retrieve. |
Returns
| Type | Description |
|---|---|
| PvProperty | Pointer to the property, or null if index is out of range. |
GetNext()
Gets the next property in the list.
Declaration
public PvProperty GetNext()
Returns
| Type | Description |
|---|---|
| PvProperty | Pointer to the next property, or null if at end of list. |
GetProperty(string)
Gets a property by name.
Declaration
public PvProperty GetProperty(string aName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | aName | The name of the property to find. |
Returns
| Type | Description |
|---|---|
| PvProperty | Pointer to the property, or null if not found. |