C# 클래스 OpenHome.Net.ControlPoint.ArgumentInt

Integer type argument. Only intended for use by auto-generated proxies.
상속: Argument
파일 보기 프로젝트 열기: openhome/ohNet

공개 메소드들

메소드 설명
ArgumentInt ( ParameterInt aParameter ) : System

Constructor for integer 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)

ArgumentInt ( ParameterInt aParameter, int aValue ) : System

Constructor for integer input argument for an action

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

비공개 메소드들

메소드 설명
ActionArgumentCreateIntInput ( IntPtr aParameter, int aValue ) : IntPtr
ActionArgumentCreateIntOutput ( IntPtr aParameter ) : IntPtr
ActionArgumentValueInt ( IntPtr aHandle ) : int
Value ( ) : int

Read the value of an integer argument.

Only intended for use with output arguments inside the invocation completed callback.

메소드 상세

ArgumentInt() 공개 메소드

Constructor for integer 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 ArgumentInt ( ParameterInt aParameter ) : System
aParameter OpenHome.Net.Core.ParameterInt Defines the name plus any bounds to the value for the argument. /// Must have been previously added to the action using Action.AddOutputParameter
리턴 System

ArgumentInt() 공개 메소드

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