RouteData.GetRequiredString(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.