Share via


RadioButtons.ContainerFromIndex(Int32) 方法

定義

傳回位於專案集合內指定索引處之專案的容器。

本檔適用于 Windows 應用程式 SDK 中適用于 WinUI 的 WinUI 2 for UWP (,請參閱Windows 應用程式 SDK命名空間) 。

public:
 virtual UIElement ^ ContainerFromIndex(int index) = ContainerFromIndex;
UIElement ContainerFromIndex(int const& index);
public UIElement ContainerFromIndex(int index);
Public Function ContainerFromIndex (index As Integer) As UIElement

參數

index
Int32

int

要擷取的項目索引。

傳回

如果專案具有容器,則專案位於專案集合中指定索引處之專案的容器;否則為 null

適用於

另請參閱