C# Класс OpenHome.Net.ControlPoint.ArgumentString

String type argument. Only intended for use by auto-generated proxies.
Наследование: Argument
Показать файл Открыть проект

Открытые методы

Метод Описание
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)

Приватные методы

Метод Описание
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

Описание методов

ArgumentString() публичный Метод

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
Результат System

ArgumentString() публичный Метод

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
Результат System