C# Class ExcelDna.Integration.Rtd.ExcelRtdServer.Topic

显示文件 Open project: Excel-DNA/ExcelDna Class Usage Examples

Public Methods

Method Description
UpdateNotify ( ) : void

Calls UpdateNotify on the RTD server to refresh. Does not normally need to be called if UpdateValue(newValue) has been called, but can be used to force a recalculation of the RTD cell even if the value has not changed.

UpdateValue ( object value ) : void

Sets the topic value and calls UpdateNotify on the RTD Server to refresh.

Protected Methods

Method Description
OnDisconnected ( ) : void
Topic ( ExcelRtdServer server, int topicId ) : System
Topic ( ExcelRtdServer server, int topicId, object initialValue ) : System

Private Methods

Method Description
FixValue ( object value ) : object

Method Details

OnDisconnected() protected method

protected OnDisconnected ( ) : void
return void

Topic() protected method

protected Topic ( ExcelRtdServer server, int topicId ) : System
server ExcelRtdServer
topicId int
return System

Topic() protected method

protected Topic ( ExcelRtdServer server, int topicId, object initialValue ) : System
server ExcelRtdServer
topicId int
initialValue object
return System

UpdateNotify() public method

Calls UpdateNotify on the RTD server to refresh. Does not normally need to be called if UpdateValue(newValue) has been called, but can be used to force a recalculation of the RTD cell even if the value has not changed.
public UpdateNotify ( ) : void
return void

UpdateValue() public method

Sets the topic value and calls UpdateNotify on the RTD Server to refresh.
public UpdateValue ( object value ) : void
value object
return void