Share via


RecyclePool.TryGetElement Method

Definition

Overloads

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

Parameters

key
String

Platform::String

winrt::hstring

Returns

Attributes

Applies to

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

Parameters

key
String

Platform::String

winrt::hstring

owner
UIElement

Returns

Attributes

Applies to