InitialValueExpressionCollection.Lookup(String) Método

Definição

Recupera o item associado à chave especificada.

public:
 virtual Platform::String ^ Lookup(Platform::String ^ key) = IMap<Platform::String ^, Platform::String ^>::Lookup;
winrt::hstring Lookup(winrt::hstring const& key);
public string Lookup(string key);
function lookup(key)
Public Function Lookup (key As String) As String

Parâmetros

key
String

Platform::String

winrt::hstring

A chave que identifica o item a ser recuperado.

Retornos

String

Platform::String

winrt::hstring

O valor, se existir um item com a chave especificada. Use o método HasKey para determinar se a chave existe.

Implementações

Aplica-se a