Redigera

Dela via


RouteData.GetRequiredString(String) Method

Definition

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

Parameters

valueName
String

The key of the value to retrieve.

Returns

The element in the Values property whose key matches valueName.

Exceptions

A value does not exist for valueName.

Applies to

See also