C# 클래스 OpenHome.Net.Core.PropertyString

String type property. Only intended for use by auto-generated proxies and providers.
상속: Property
파일 보기 프로젝트 열기: openhome/ohNet 1 사용 예제들

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

PropertyString() 공개 메소드

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.
리턴 System

PropertyString() 공개 메소드

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
리턴 System

SetValue() 공개 메소드

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

Value() 공개 메소드

Query the value of the property
public Value ( ) : String
리턴 String