共用方式為


TreeView.ItemFromContainer(DependencyObject) 方法

定義

傳回對應至指定之產生的容器的專案。

public:
 virtual Platform::Object ^ ItemFromContainer(DependencyObject ^ container) = ItemFromContainer;
public:
 virtual Platform::Object ^ ItemFromContainer(DependencyObject ^ container) = ItemFromContainer;
IInspectable ItemFromContainer(DependencyObject const& container);
public object ItemFromContainer(DependencyObject container);
function itemFromContainer(container)
Public Function ItemFromContainer (container As DependencyObject) As Object

參數

container
DependencyObject

對應至要傳回之專案的 DependencyObject

傳回

Object

Platform::Object

IInspectable

包含的專案,如果不包含專案,則為容器。

適用於