RouteConstraintBuilder.SetOptional(String) Method

Definition

Sets the given key as optional.

public:
 void SetOptional(System::String ^ key);
public void SetOptional (string key);
member this.SetOptional : string -> unit
Public Sub SetOptional (key As String)

Parameters

key
String

The key.

Applies to