共用方式為


LocalNetworkGamer.SendData Method

Sends data to a specified set of gamers in a network session.

Overload List

Name Description
LocalNetworkGamer.SendData (Byte[], Int32, Int32, SendDataOptions) Sends a selected portion of a byte array to all gamers in a session.
LocalNetworkGamer.SendData (Byte[], Int32, Int32, SendDataOptions, NetworkGamer) Sends a selected portion of a byte array to the specified gamer.
LocalNetworkGamer.SendData (Byte[], SendDataOptions) Sends a byte array to all gamers in a session.
LocalNetworkGamer.SendData (Byte[], SendDataOptions, NetworkGamer) Sends a byte array to the specified gamer.
LocalNetworkGamer.SendData (PacketWriter, SendDataOptions) Sends a network packet to all gamers in a session.
LocalNetworkGamer.SendData (PacketWriter, SendDataOptions, NetworkGamer) Sends a network packet to the specified gamer in a session.

See Also

Tasks

How To: Send Data

Reference

LocalNetworkGamer Class
LocalNetworkGamer Members
Microsoft.Xna.Framework.Net Namespace