次の方法で共有


RecyclePool.TryGetElement メソッド

定義

オーバーロード

TryGetElement(String)
TryGetElement(String, UIElement)

TryGetElement(String)

public:
 virtual UIElement ^ TryGetElement(Platform::String ^ key) = TryGetElement;
/// [Windows.Foundation.Metadata.Experimental]
/// [Windows.Foundation.Metadata.Overload("TryGetElement")]
UIElement TryGetElement(winrt::hstring const& key);
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.Overload("TryGetElement")]
public UIElement TryGetElement(string key);
Public Function TryGetElement (key As String) As UIElement

パラメーター

key
String

Platform::String

winrt::hstring

戻り値

属性

適用対象

TryGetElement(String, UIElement)

public:
 virtual UIElement ^ TryGetElement(Platform::String ^ key, UIElement ^ owner) = TryGetElement;
/// [Windows.Foundation.Metadata.Experimental]
/// [Windows.Foundation.Metadata.Overload("TryGetElementWithOwner")]
UIElement TryGetElement(winrt::hstring const& key, UIElement const& owner);
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.Overload("TryGetElementWithOwner")]
public UIElement TryGetElement(string key, UIElement owner);
Public Function TryGetElement (key As String, owner As UIElement) As UIElement

パラメーター

key
String

Platform::String

winrt::hstring

owner
UIElement

戻り値

属性

適用対象