Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Channel/Properties/Data
<a class="clsStd" href="/techref/objectmodel/objects/channel/index.htm">Channel</a>.Data Property
This property returns the data that has been received from the remote user's application instance. This property contains data whenever the OnDataReceived event fires.
VBScript Syntax
external.Channel.Data
JavaScript Syntax
window.external.Channel.Data
Property Value
A variant object containing the data received from the remote application.
JavaScript Example
function Channel_OnDataReceived() // This event is fired when data is received from the remote application using Channel.SendData. // Inspect the value of Channel.Data. { var myData; myData=window.external.Channel.Data; myGameTurn(myData); }
Remarks
This property contains data that should be inspected every time the OnDataReceived event occurs.