RawGameController.RawGameControllers 属性

定义

所有连接的原始游戏控制器的列表。

public:
 static property IVectorView<RawGameController ^> ^ RawGameControllers { IVectorView<RawGameController ^> ^ get(); };
static IVectorView<RawGameController> RawGameControllers();
public static IReadOnlyList<RawGameController> RawGameControllers { get; }
var iVectorView = RawGameController.rawGameControllers;
Public Shared ReadOnly Property RawGameControllers As IReadOnlyList(Of RawGameController)

属性值

所有连接的原始游戏控制器的列表。

注解

RawGameController 对象由系统管理,因此无需创建或初始化它们。 相反,你可以通过此属性访问连接的原始游戏控制器。 由于你可能只对某些连接的原始游戏控制器感兴趣,因此我们建议你维护自己的集合。

此列表最初为空,即使原始游戏控制器已连接,也不会列出这些控制器。 在短时间内,这将返回原始游戏控制器的完整列表。

适用于