Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
3/12/2014
Adds a WORD to the Command Packet.
Namespace: Microsoft.RemoteToolSdk.PluginComponents
Assembly: Microsoft.RemoteToolSdk (in microsoft.remotetoolsdk.dll)
Syntax
public void AddParameterWORD (
ushort data
)
'Declaration
Public Sub AddParameterWORD ( _
data As UShort _
)
Parameters
- data
A WORD.
Example
The following example builds a Command Packet, sets the Command ID to a value of 42, and adds a WORD (uint16) as a parameter.
CommandPacket sendCommand = new CommandPacket();
sendCommand.CommandId = 42;
sendCommand.AddParameterWORD( 15712 );
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.
See Also
Reference
CommandPacket Class
CommandPacket Members
Microsoft.RemoteToolSdk.PluginComponents Namespace