次の方法で共有


Guide.BeginShowStorageDeviceSelector Method (PlayerIndex, Int32, Int32, AsyncCallback, Object)

Begins the process for displaying the storage device selector user interface, specifying the index of the player to be shown the user interface, as well as the size of the data to be written to the storage device. The display operation is performed asynchronously.

Namespace: Microsoft.Xna.Framework.GamerServices
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public static IAsyncResult BeginShowStorageDeviceSelector (
         PlayerIndex player,
         int sizeInBytes,
         int directoryCount,
         AsyncCallback callback,
         Object state
)

Parameters

  • player
    Index of the player being shown the user interface display. On Windows, the only valid option is PlayerIndex.One.
  • sizeInBytes
    Size, in bytes, of the data to write to the storage device.
  • directoryCount
    Number of directories to write to the storage device.
  • callback
    The method to be called once the asynchronous operation has finished.
  • state
    A user-created object uniquely identifying this request.

Return Value

An IAsyncResult used to track the progress of the method.

See Also

Reference

Guide Class
Guide Members
Microsoft.Xna.Framework.GamerServices Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista, Zune