C# Class OpenHome.Net.ControlPoint.ArgumentString

String type argument. Only intended for use by auto-generated proxies.
Inheritance: Argument
Datei anzeigen Open project: openhome/ohNet

Public Methods

Method Description
ArgumentString ( ParameterString aParameter ) : System

Constructor for string output argument for an action

Intended to be created without any value. The value is later set after CpService.InvokeAction is called but before the invocation's callback is run)

ArgumentString ( ParameterString aParameter, String aValue ) : System

Constructor for string input argument for an action

Intended to be write only (its value is written on construction and not be later read)

Private Methods

Method Description
ActionArgumentCreateStringInput ( IntPtr aParameter, IntPtr aValue ) : IntPtr
ActionArgumentCreateStringOutput ( IntPtr aParameter ) : IntPtr
ActionArgumentGetValueString ( IntPtr aHandle, IntPtr &aData, uint &aLen ) : void
OhNetFree ( IntPtr aPtr ) : void
Value ( ) : String

Read the value of a binary argument.

Only intended for use with output arguments inside the invocation completed callback. Can only be called once as the first call extracts the string data from the underlying native object

Method Details

ArgumentString() public method

Constructor for string output argument for an action
Intended to be created without any value. The value is later set after CpService.InvokeAction is called but before the invocation's callback is run)
public ArgumentString ( ParameterString aParameter ) : System
aParameter OpenHome.Net.Core.ParameterString Defines the name plus any bounds to the value for the argument. /// Must have been previously added to the action using Action.AddOutputParameter
return System

ArgumentString() public method

Constructor for string input argument for an action
Intended to be write only (its value is written on construction and not be later read)
public ArgumentString ( ParameterString aParameter, String aValue ) : System
aParameter OpenHome.Net.Core.ParameterString Defines the name plus any bounds to the value for the argument. /// Must have been previously added to the action using Action.AddInputParameter
aValue String Value for the argument
return System