RouteData.GetRequiredString(String) Método

Definição

Recupera o valor com o identificador especificado.Retrieves the value with the specified identifier.

public:
 System::String ^ GetRequiredString(System::String ^ valueName);
public string GetRequiredString (string valueName);
member this.GetRequiredString : string -> string
Public Function GetRequiredString (valueName As String) As String

Parâmetros

valueName
String

A chave do valor a ser recuperado.The key of the value to retrieve.

Retornos

String

O elemento na propriedade Values cuja chave corresponde a valueName.The element in the Values property whose key matches valueName.

Exceções

Não existe um valor para valueName.A value does not exist for valueName.

Aplica-se a