C# Class OpenHome.Net.Core.PropertyUint

Unsigned integer type property. Only intended for use by auto-generated proxies and providers.
Inheritance: Property
Afficher le fichier Open project: openhome/ohNet Class Usage Examples

Méthodes publiques

Méthode Description
PropertyUint ( ParameterUint aParameter, bool aOwnsNativeProperty = false ) : System

Constructor suitable for use by clients of the device stack

PropertyUint ( String aName, System aValueChanged ) : System

Constructor suitable for use by clients of the control point stack

SetValue ( uint aValue ) : bool

Set the value of the property

Value ( ) : uint

Query the value of the property

Private Methods

Méthode Description
ServicePropertyCreateUintCp ( IntPtr aName, Callback aCallback, IntPtr aPtr ) : IntPtr
ServicePropertyCreateUintDv ( IntPtr aParameterHandle ) : IntPtr
ServicePropertySetValueUint ( IntPtr aHandle, uint aValue ) : uint
ServicePropertyValueUint ( IntPtr aHandle, uint &aValue ) : int

Method Details

PropertyUint() public méthode

Constructor suitable for use by clients of the device stack
public PropertyUint ( ParameterUint aParameter, bool aOwnsNativeProperty = false ) : System
aParameter ParameterUint Parameter defining the name and any value bounds for the property.
aOwnsNativeProperty bool Whether the managed property owns the underlying native property.
Résultat System

PropertyUint() public méthode

Constructor suitable for use by clients of the control point stack
public PropertyUint ( String aName, System aValueChanged ) : System
aName String Property name
aValueChanged System Action to run when the property's value changes
Résultat System

SetValue() public méthode

Set the value of the property
public SetValue ( uint aValue ) : bool
aValue uint New value for the property
Résultat bool

Value() public méthode

Query the value of the property
public Value ( ) : uint
Résultat uint