C# Class OpenHome.Net.Core.PropertyString

String type property. Only intended for use by auto-generated proxies and providers.
Inheritance: Property
Mostra file Open project: openhome/ohNet Class Usage Examples

Public Methods

Method Description
PropertyString ( ParameterString aParameter, bool aOwnsNativeProperty = false ) : System

Constructor suitable for use by clients of the device stack

PropertyString ( String aName, System aValueChanged ) : System

Constructor suitable for use by clients of the control point stack

SetValue ( string aValue ) : bool

Set the value of the property

Value ( ) : String

Query the value of the property

Private Methods

Method Description
OhNetFree ( IntPtr aPtr ) : void
ServicePropertyCreateStringCp ( IntPtr aName, Callback aCallback, IntPtr aPtr ) : IntPtr
ServicePropertyCreateStringDv ( IntPtr aParameterHandle ) : IntPtr
ServicePropertyGetValueString ( IntPtr aHandle, IntPtr &aData, uint &aLen ) : int
ServicePropertySetValueString ( IntPtr aHandle, IntPtr aValue ) : uint

Method Details

PropertyString() public method

Constructor suitable for use by clients of the device stack
public PropertyString ( ParameterString aParameter, bool aOwnsNativeProperty = false ) : System
aParameter ParameterString Parameter defining the name and any set of allowed values for the property.
aOwnsNativeProperty bool Whether the managed property owns the underlying native property.
return System

PropertyString() public method

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

SetValue() public method

Set the value of the property
public SetValue ( string aValue ) : bool
aValue string New value for the property
return bool

Value() public method

Query the value of the property
public Value ( ) : String
return String