다음을 통해 공유


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

반환

특성

적용 대상