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.
1/5/2010
Returns the next parameter on the list.
Namespace: Microsoft.RemoteToolSdk.PluginComponents
Assembly: Microsoft.RemoteToolSdk (in microsoft.remotetoolsdk.dll)
Syntax
public CommandPacketParameter GetNextParameter ()
'Declaration
Public Function GetNextParameter As CommandPacketParameter
Return Value
The next parameter on the list, or null if no more.
Example
The following code snippet shows how to retrieve all of the parameters from a command packet.
private void SampleFunction(CommandPacket commandPacket)
{
if (commandPacket != null)
{
CommandPacketParameter cpp;
do
{
cpp = commandPacket.GetNextParameter();
if (cpp != null)
{
DoSomething(cpp);
}
}
while (cpp != null);
}
}
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