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

Возвращаемое значение

Атрибуты

Применяется к